84 posts
  • Had an item that was trending
  • Has sold $40,000+ on Envato Market
  • Has referred 100+ members
  • Has been part of the Envato Community for over 4 years
+4 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 5 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+5 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.

1467 posts
  • Had an item that was trending
  • Won a Most Wanted contest
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
+8 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 :(

84 posts
  • Had an item that was trending
  • Has sold $40,000+ on Envato Market
  • Has referred 100+ members
  • Has been part of the Envato Community for over 4 years
+4 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

107 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ 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

235 posts
  • Located in United States
  • Member of the Envato Team
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
+14 more
Crusader12
Envato team
says

@pjtops – totally agree with you.

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

5465 posts The Dude Abides
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Had an item that became a weekly top seller
  • Located in United States
+13 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 3 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;
};
5465 posts The Dude Abides
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Had an item that became a weekly top seller
  • Located in United States
+13 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 3 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