56 posts
  • Bought between 1 and 9 items
  • Australia
  • Sold between 10 000 and 50 000 dollars
  • Referred between 50 and 99 users
  • Exclusive Author
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
leli2000 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]-->
5074 posts
  • Australia
  • Bought between 100 and 499 items
  • Community Superstar
  • Exclusive Author
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
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.

730 posts
  • Author had a Free File of the Month
  • Grew a moustache for the Envato Movember competition
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Beta Tester
  • Microlancer Beta Tester
  • Bought between 50 and 99 items
  • Referred between 1 and 9 users
  • Has been a member for 1-2 years
+1 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 :(

56 posts
  • Bought between 1 and 9 items
  • Australia
  • Sold between 10 000 and 50 000 dollars
  • Referred between 50 and 99 users
  • Exclusive Author
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
leli2000 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

101 posts
  • Australia
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
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

156 posts
  • Attended a Community Meetup
  • Author had a Free File of the Month
  • Grew a moustache for the Envato Movember competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Support Staff
  • Envato Staff
  • Reviewer
  • Microlancer Beta Tester
+6 more
Crusader12 Reviewer says

@pjtops – totally agree with you.

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

5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 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
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 2-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;
};
5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 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
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 2-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