69 posts
  • Has sold $10,000+ on Envato Market
  • Has referred 50+ members
  • Has been part of the Envato Community for over 4 years
  • Located in Australia
+3 more
MelonHTML5 says
http://blog.jquery.com/2013/03/01/jquery-2-0-beta-2-released/

Are you ready for this in your future codecanyon items?
<!--[if lt IE 9]>
    <script src="jquery-1.9.1.js"></script>
<![endif]-->
<!--[if gte IE 9]><!-->
    <script src="jquery-2.0.0b2.js"></script>
<!--<![endif]-->
5492 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 more
Australia says

I can see some jQ guys on here having some sleepless nights, now that they can condense jQuery down to just over 17kb gzipped.

1022 posts
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
  • Contributed a free file of the month
+6 more
greenline says

I don’t like that. We already have to code million of CSS lines depending on browser type, for shadow, for etc. If we are going to start that too for javascript…I quit :(

69 posts
  • Has sold $10,000+ on Envato Market
  • Has referred 50+ members
  • Has been part of the Envato Community for over 4 years
  • Located in Australia
+3 more
MelonHTML5 says

I don’t like that. We already have to code million of CSS lines depending on browser type, for shadow, for etc. If we are going to start that too for javascript…I quit :(

lol

106 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+2 more
pjtops says

As the API’s for jQuery 1 & 2 are exactly the same, I see no need for including both at the same time. I’ll switch to 2 when IE8 is dead, hopefully soon. As the release page says, places where it makes sense to use JQuery 2 right now include:

- Google Chrome plugins

- Mozilla XUL apps and Firefox extensions

- Mobile apps ( Firefox OS apps, Windows 8 Store, BlackBerry 10 WebWorks apps, PhoneGap/Cordova apps etc)

- Intranet applications

195 posts
  • Member of the Envato Team
  • Had an item featured on Envato Market
  • Contributed a free file of the month
  • Has been a beta tester for an Envato feature
+12 more
Crusader12 Envato team says

@pjtops – totally agree with you.

I’ll be working with 1.9 until IE8 is obliterated.

5360 posts The Dude Abides
  • Located in United States
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 5 years
+9 more
CodingJack says

@pjtops – totally agree with you. I’ll be working with 1.9 until IE8 is obliterated.

I just built my own version of jQuery for this exact reason.

http://www.codingjack.com/playground/jquick/

As much as I wish IE8 would die a quick death, IE8 still matters to buyers. They don’t expect all the bells and whistles to be compatible, but they still need stuff to at least look halfway decent and function properly on IE8.

36 posts
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
Jaegers says

Nice work CodingJack. I have just look through source and would like to make a little suggestion about jQuick.extend to make it work with nested objects.

jQuick.extend = function(obj, sets, overwrite) {

    if (typeof obj === 'undefined') {
        return sets;
    }
    for (var prop in sets) {

        if({}.hasOwnProperty.call(sets, prop)) { // prevent error obj.hasOwnProperty('hasOwnProperty')

            if (sets[prop].constructor === Object) { // replace it with your own 'isObject' check
                obj[prop] = jQuick.extend(obj[prop], sets[prop], overwrite);
            }
            else if (overwrite || typeof obj[prop] === 'undefined') { // overwrite only when needed
                obj[prop] = sets[prop];
            }
        }
    }
    return obj;
};
5360 posts The Dude Abides
  • Located in United States
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 5 years
+9 more
CodingJack says

Thanks Jaegers :) I need to do a lot more testing before putting it on GitHub but once I do I’m hoping people fork it with stuff like this :)

36 posts
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
Jaegers says

Building JavaScript library is a huge task for one person. I know it because long time I’m building my own from the ground and still on the half way.

It’s time consuming, but I believe “reinvent the wheel” is good. You can build things the way you like it and can learn much stuff during process.

Wish you good luck, CodingJack :)

by
by
by
by
by
by