<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://organizeseries.com/"
> <channel><title>Comments on: What&#8217;s New in jQuery 2.0</title> <atom:link href="http://www.sitepoint.com/whats-new-in-jquery-2-0/feed/" rel="self" type="application/rss+xml" /><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/</link> <description>Learn CSS &#124; HTML5 &#124; JavaScript &#124; Wordpress &#124; Tutorials-Web Development &#124; Reference &#124; Books and More</description> <lastBuildDate>Tue, 14 May 2013 23:57:39 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.5.1</generator> <item><title>By: Robert</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1084001</link> <dc:creator>Robert</dc:creator> <pubDate>Sun, 28 Apr 2013 10:18:44 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1084001</guid> <description><![CDATA[It looks like even Microsoft with all its muscle and money can&#039;t persuade the Die Hards to upgrade their jurassic browsers (and rid off it&#039;s ugly history) :
technobuffalo.com/2012/12/31/ie-6-7-8-zero-day-issue/
google.com/search?q=microsoft+urges+to+upgrade+their+browsers
For the past 6 months I saved my server logs offline (3 servers, 2 portfolio and many personal sites). And ran some sed + awk + grep queries on them to check UA strings, I concluded that there were just a handful IE7 and IE8 visits (nothing below) with unique IPs. 7 to 22 total IE7+IE8 unique visits per month across all sites. The site with the worst unique visitors per month count, has 331 unique visits per month. These (IE7+IE8 visits) were also consistently ranked as the visitors with the lowest page views and shortest visit duration.
So I&#039;m embracing jQuery 2.0. I also took the &quot;bold&quot; step to ditch the html5shiv in Modernizr.
Also, no JavaScript, equals no site :
In index.php and index.py load the real site index page with JavaScript and a  message.
On each site page :
in html : &lt;html class=&quot;no-js&quot;&gt;&lt;/html&gt;
in css : .no-js {display: none; visibility: hidden;}
jQuery 2.0 is **THE** chance to make the dinosaurs feel the pain.
Sticking to jQuery 1.9.x will **eventually** be like making the same mistake again as we did before : supporting unsupported stuff (IE8-). Adding one more legacy liability on top of the IE8- liability pile.
What will be next? A jQuery2.0shiv for jQuery 1.9 on Github/Bitbucket?
According to Wikipedia, IE6 was introduced in August 2001, IE7 in October 2006, IE8 in March 2009, IE9 in March 2011. Djeez! We might as well go for it and support IE1 (Windows 95, remember). That&#039;s only 6 years more back in time than IE6 (which in itself is almost 12 years back in time).
If we are willing to support 12 years old, why not go for the whole legacy?
Of the other browsers which you support, how old are they?
Even their maker, Microsoft, stopped supporting the oldest versions, years ago.
So why are **you** still supporting them?
For just another year ? : http://www.microsoft.com/en-us/windows/endofsupport.aspx
The users of these ancient browsers can still visit sites like the Wayback Machine to enjoy the Jurassic internet and stay in the past forever.
And be fair, or honest, to yourself : the majority of boxes still running XP with IE8-, won&#039;t be able to provide the horse power to run a modern site smoothly anyway.
2 tabs, each with one video, will at least choke, and possibly kill, that PIII/PIV/Athlon running IE8-.
Even an AMD E-350 with 2-4GB RAM, Win7 and IE9+ will have more power and not choke.
Don&#039;t deserve a webpage like this : en.wikiquote.org/wiki/Talk:Bill_Gates
Let&#039;s break those old browsers.
P.S.
One time a client for an e-commerce site, specifically asked me to block anything older than IE8. His company had decided that people not able/willing to upgrade would also have nothing to spend.]]></description> <content:encoded><![CDATA[<p>It looks like even Microsoft with all its muscle and money can&#8217;t persuade the Die Hards to upgrade their jurassic browsers (and rid off it&#8217;s ugly history) :<br
/> technobuffalo.com/2012/12/31/ie-6-7-8-zero-day-issue/<br
/> google.com/search?q=microsoft+urges+to+upgrade+their+browsers</p><p>For the past 6 months I saved my server logs offline (3 servers, 2 portfolio and many personal sites). And ran some sed + awk + grep queries on them to check UA strings, I concluded that there were just a handful IE7 and IE8 visits (nothing below) with unique IPs. 7 to 22 total IE7+IE8 unique visits per month across all sites. The site with the worst unique visitors per month count, has 331 unique visits per month. These (IE7+IE8 visits) were also consistently ranked as the visitors with the lowest page views and shortest visit duration.</p><p>So I&#8217;m embracing jQuery 2.0. I also took the &#8220;bold&#8221; step to ditch the html5shiv in Modernizr.<br
/> Also, no JavaScript, equals no site :<br
/> In index.php and index.py load the real site index page with JavaScript and a  message.<br
/> On each site page :<br
/> in html : &lt;html class=&#8221;no-js&#8221;&gt;&lt;/html&gt;<br
/> in css : .no-js {display: none; visibility: hidden;}</p><p>jQuery 2.0 is **THE** chance to make the dinosaurs feel the pain.<br
/> Sticking to jQuery 1.9.x will **eventually** be like making the same mistake again as we did before : supporting unsupported stuff (IE8-). Adding one more legacy liability on top of the IE8- liability pile.</p><p>What will be next? A jQuery2.0shiv for jQuery 1.9 on Github/Bitbucket?</p><p>According to Wikipedia, IE6 was introduced in August 2001, IE7 in October 2006, IE8 in March 2009, IE9 in March 2011. Djeez! We might as well go for it and support IE1 (Windows 95, remember). That&#8217;s only 6 years more back in time than IE6 (which in itself is almost 12 years back in time).<br
/> If we are willing to support 12 years old, why not go for the whole legacy?<br
/> Of the other browsers which you support, how old are they?</p><p>Even their maker, Microsoft, stopped supporting the oldest versions, years ago.<br
/> So why are **you** still supporting them?<br
/> For just another year ? : <a
href="http://www.microsoft.com/en-us/windows/endofsupport.aspx" rel="nofollow">http://www.microsoft.com/en-us/windows/endofsupport.aspx</a></p><p>The users of these ancient browsers can still visit sites like the Wayback Machine to enjoy the Jurassic internet and stay in the past forever.</p><p>And be fair, or honest, to yourself : the majority of boxes still running XP with IE8-, won&#8217;t be able to provide the horse power to run a modern site smoothly anyway.<br
/> 2 tabs, each with one video, will at least choke, and possibly kill, that PIII/PIV/Athlon running IE8-.<br
/> Even an AMD E-350 with 2-4GB RAM, Win7 and IE9+ will have more power and not choke.</p><p>Don&#8217;t deserve a webpage like this : en.wikiquote.org/wiki/Talk:Bill_Gates</p><p>Let&#8217;s break those old browsers.</p><p>P.S.<br
/> One time a client for an e-commerce site, specifically asked me to block anything older than IE8. His company had decided that people not able/willing to upgrade would also have nothing to spend.</p> ]]></content:encoded> </item> <item><title>By: Craig Buckler</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083918</link> <dc:creator>Craig Buckler</dc:creator> <pubDate>Sat, 27 Apr 2013 12:15:27 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083918</guid> <description><![CDATA[You&#039;re welcome Peeter -- thanks for the feedback.]]></description> <content:encoded><![CDATA[<p>You&#8217;re welcome Peeter &#8212; thanks for the feedback.</p> ]]></content:encoded> </item> <item><title>By: Craig Buckler</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083917</link> <dc:creator>Craig Buckler</dc:creator> <pubDate>Sat, 27 Apr 2013 12:14:42 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083917</guid> <description><![CDATA[Brilliant ... that&#039;s much easier to use!]]></description> <content:encoded><![CDATA[<p>Brilliant &#8230; that&#8217;s much easier to use!</p> ]]></content:encoded> </item> <item><title>By: Erwin Heiser</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083907</link> <dc:creator>Erwin Heiser</dc:creator> <pubDate>Sat, 27 Apr 2013 10:54:35 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083907</guid> <description><![CDATA[For those who need on online jQuery builder this http://projects.jga.me/jquery-builder/ has just been released.]]></description> <content:encoded><![CDATA[<p>For those who need on online jQuery builder this <a
href="http://projects.jga.me/jquery-builder/" rel="nofollow">http://projects.jga.me/jquery-builder/</a> has just been released.</p> ]]></content:encoded> </item> <item><title>By: Craig Buckler</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083893</link> <dc:creator>Craig Buckler</dc:creator> <pubDate>Sat, 27 Apr 2013 07:45:36 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083893</guid> <description><![CDATA[IE10 is as good -- if not better -- than Chrome and Firefox for core HTML5 and CSS3 technologies. IE9 was missing a few features but won&#039;t cause problems.
The main issue is that many people are still on XP and can&#039;t upgrade beyond IE8. Fortunately, IE8 usage is dropping reasonably quickly.]]></description> <content:encoded><![CDATA[<p>IE10 is as good &#8212; if not better &#8212; than Chrome and Firefox for core HTML5 and CSS3 technologies. IE9 was missing a few features but won&#8217;t cause problems.</p><p>The main issue is that many people are still on XP and can&#8217;t upgrade beyond IE8. Fortunately, IE8 usage is dropping reasonably quickly.</p> ]]></content:encoded> </item> <item><title>By: Craig Buckler</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083892</link> <dc:creator>Craig Buckler</dc:creator> <pubDate>Sat, 27 Apr 2013 07:41:53 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083892</guid> <description><![CDATA[I totally agree. At this moment, conditional loading offers no real benefit and may cause further complications. Within a year or so I&#039;d hope you can drop IE8 support and switch to jQuery 2.0 full-time.]]></description> <content:encoded><![CDATA[<p>I totally agree. At this moment, conditional loading offers no real benefit and may cause further complications. Within a year or so I&#8217;d hope you can drop IE8 support and switch to jQuery 2.0 full-time.</p> ]]></content:encoded> </item> <item><title>By: Peeter Jozaf</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083752</link> <dc:creator>Peeter Jozaf</dc:creator> <pubDate>Fri, 26 Apr 2013 06:43:31 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083752</guid> <description><![CDATA[Thanks Craig Buckler for excellent post]]></description> <content:encoded><![CDATA[<p>Thanks Craig Buckler for excellent post</p> ]]></content:encoded> </item> <item><title>By: Sheikh Heera</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083655</link> <dc:creator>Sheikh Heera</dc:creator> <pubDate>Thu, 25 Apr 2013 16:54:45 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083655</guid> <description><![CDATA[I believe 5 percent or maybe less amount of developer will use jQuery 2.0, IE8 support is more important than 3.6kb and there is nothing so new in 2.0, so it was not necessary to stop supporting IE8 so soon, IMO.]]></description> <content:encoded><![CDATA[<p>I believe 5 percent or maybe less amount of developer will use jQuery 2.0, IE8 support is more important than 3.6kb and there is nothing so new in 2.0, so it was not necessary to stop supporting IE8 so soon, IMO.</p> ]]></content:encoded> </item> <item><title>By: Sheikh Heera</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083653</link> <dc:creator>Sheikh Heera</dc:creator> <pubDate>Thu, 25 Apr 2013 16:43:39 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083653</guid> <description><![CDATA[I think there is no need to use conditional loading of 2.0 if someone still now needs IE8 support and yes it&#039;s true only a JavaScript library can&#039;t accelerate IE8′s demise but I think it&#039;s really too early to stop supporting IE8 only for saving 3.6Kb but a lots of people are still now using IE8 because it&#039;s the default browser in their OS and most of them are not geek.]]></description> <content:encoded><![CDATA[<p>I think there is no need to use conditional loading of 2.0 if someone still now needs IE8 support and yes it&#8217;s true only a JavaScript library can&#8217;t accelerate IE8′s demise but I think it&#8217;s really too early to stop supporting IE8 only for saving 3.6Kb but a lots of people are still now using IE8 because it&#8217;s the default browser in their OS and most of them are not geek.</p> ]]></content:encoded> </item> <item><title>By: Francesco</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083448</link> <dc:creator>Francesco</dc:creator> <pubDate>Wed, 24 Apr 2013 15:52:33 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083448</guid> <description><![CDATA[I used to hate conditional comments too, mainly for reason 1, they really are browser sniffing and that&#039;s evil.
But then I had to deal with the real world, and, I admit it, having them up there at the very beginning of the HTML5 Boilerplate html page did help me understand that there are many instances where really is is no other option but to use them. At the very least if you&#039;re required (by customers, bosses, anyone) to try and make the sites look as similar as possible.
A very simple example: to deal with inline-block. I couldn&#039;t use inline-block (that I use everywhere) if I couldn&#039;t use conditional comments. (Actually I *could* use a css hack, but that&#039;s even worse in my opinion).
And of course, even though they are browser sniffing, they don&#039;t have one of browser sniffing&#039;s biggest practical problems: it&#039;s unreliable. Conditional comments are reliable (yes, even with IE10 not supporting them).
And they&#039;re not an unruly mess, it&#039;s just copy and paste. The same you have at the very beginning of every site you make with the HTML5 Boilerplate. And you can&#039;t get it wrong, because the site just wouldn&#039;t work, you&#039;d realize in a second. (And we already copy and paste the jQuery script include every time, a line more doesn&#039;t make any difference.)
Differences in APIs might really be a problem, though, you&#039;re right! I&#039;m not 100% certain they&#039;re identical. But again, I see no problems in trying both for the time being, since I&#039;m testing everything in every browser anyway. The first time I&#039;ll find a problem, I&#039;ll drop it system in a second.]]></description> <content:encoded><![CDATA[<p>I used to hate conditional comments too, mainly for reason 1, they really are browser sniffing and that&#8217;s evil.</p><p>But then I had to deal with the real world, and, I admit it, having them up there at the very beginning of the HTML5 Boilerplate html page did help me understand that there are many instances where really is is no other option but to use them. At the very least if you&#8217;re required (by customers, bosses, anyone) to try and make the sites look as similar as possible.</p><p>A very simple example: to deal with inline-block. I couldn&#8217;t use inline-block (that I use everywhere) if I couldn&#8217;t use conditional comments. (Actually I *could* use a css hack, but that&#8217;s even worse in my opinion).</p><p>And of course, even though they are browser sniffing, they don&#8217;t have one of browser sniffing&#8217;s biggest practical problems: it&#8217;s unreliable. Conditional comments are reliable (yes, even with IE10 not supporting them).</p><p>And they&#8217;re not an unruly mess, it&#8217;s just copy and paste. The same you have at the very beginning of every site you make with the HTML5 Boilerplate. And you can&#8217;t get it wrong, because the site just wouldn&#8217;t work, you&#8217;d realize in a second. (And we already copy and paste the jQuery script include every time, a line more doesn&#8217;t make any difference.)</p><p>Differences in APIs might really be a problem, though, you&#8217;re right! I&#8217;m not 100% certain they&#8217;re identical. But again, I see no problems in trying both for the time being, since I&#8217;m testing everything in every browser anyway. The first time I&#8217;ll find a problem, I&#8217;ll drop it system in a second.</p> ]]></content:encoded> </item> <item><title>By: Craig Buckler</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083435</link> <dc:creator>Craig Buckler</dc:creator> <pubDate>Wed, 24 Apr 2013 13:13:17 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083435</guid> <description><![CDATA[I have three problems with Conditional Comments:
1. They&#039;re browser sniffing.
2. They&#039;re rarely required.
3. They encourage developers to apply workarounds to problems rather than fix the problem itself.
But that&#039;s beside the point. If you use CCs to load jQuery 1.9/2.0, you&#039;ll see the code is an unruly mess which is easy to get wrong. It&#039;s certainly not &quot;safe&quot; since you&#039;re depending on a hack which negates the v2.0 CC in browsers which don&#039;t support them.
As for &quot;why not&quot; conditionally load jQuery, as mentioned, you&#039;re adding unnecessary complexity and the risks outweigh the benefits. Perhaps you&#039;re 100% certain jQuery 1.9 and jQuery 2.0 have identical APIs? I&#039;m not -- and nor is the jQuery team otherwise they wouldn&#039;t have promised to fix known differences in the next release.]]></description> <content:encoded><![CDATA[<p>I have three problems with Conditional Comments:</p><p>1. They&#8217;re browser sniffing.<br
/> 2. They&#8217;re rarely required.<br
/> 3. They encourage developers to apply workarounds to problems rather than fix the problem itself.</p><p>But that&#8217;s beside the point. If you use CCs to load jQuery 1.9/2.0, you&#8217;ll see the code is an unruly mess which is easy to get wrong. It&#8217;s certainly not &#8220;safe&#8221; since you&#8217;re depending on a hack which negates the v2.0 CC in browsers which don&#8217;t support them.</p><p>As for &#8220;why not&#8221; conditionally load jQuery, as mentioned, you&#8217;re adding unnecessary complexity and the risks outweigh the benefits. Perhaps you&#8217;re 100% certain jQuery 1.9 and jQuery 2.0 have identical APIs? I&#8217;m not &#8212; and nor is the jQuery team otherwise they wouldn&#8217;t have promised to fix known differences in the next release.</p> ]]></content:encoded> </item> <item><title>By: Francesco</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083253</link> <dc:creator>Francesco</dc:creator> <pubDate>Tue, 23 Apr 2013 16:12:13 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083253</guid> <description><![CDATA[You do have a problem with conditional comments, don&#039;t you? :-)
They&#039;re perfectly safe to use, and IE10 not supporting them is not a problem. Firefox or Chrome (or anyone else but IE) never did, and that never was a problem.
I can&#039;t see the future, but there will be huge problems anyway the day they stop working... retroactively (?).
The only reason to do it, anyway, is those 3.6k. If there really is an overhead with every single conditional comment, then I agree with you, it&#039;s useless (and maybe even harmful) to do it. But if there isn&#039;t... why not?
At least until the two versions don&#039;t diverge and there can actually be testing problems.]]></description> <content:encoded><![CDATA[<p>You do have a problem with conditional comments, don&#8217;t you? :-)</p><p>They&#8217;re perfectly safe to use, and IE10 not supporting them is not a problem. Firefox or Chrome (or anyone else but IE) never did, and that never was a problem.<br
/> I can&#8217;t see the future, but there will be huge problems anyway the day they stop working&#8230; retroactively (?).</p><p>The only reason to do it, anyway, is those 3.6k. If there really is an overhead with every single conditional comment, then I agree with you, it&#8217;s useless (and maybe even harmful) to do it. But if there isn&#8217;t&#8230; why not?</p><p>At least until the two versions don&#8217;t diverge and there can actually be testing problems.</p> ]]></content:encoded> </item> <item><title>By: Ubaidullah Butt</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083236</link> <dc:creator>Ubaidullah Butt</dc:creator> <pubDate>Tue, 23 Apr 2013 13:39:05 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083236</guid> <description><![CDATA[I don&#039;t know why the new version won&#039;t support IE versions. Its too bad. Please Microsoft make your browser like other ones. I think we are pushing away Microsoft&#039;s internet explorer.]]></description> <content:encoded><![CDATA[<p>I don&#8217;t know why the new version won&#8217;t support IE versions. Its too bad. Please Microsoft make your browser like other ones. I think we are pushing away Microsoft&#8217;s internet explorer.</p> ]]></content:encoded> </item> <item><title>By: Craig Buckler</title><link>http://www.sitepoint.com/whats-new-in-jquery-2-0/#comment-1083229</link> <dc:creator>Craig Buckler</dc:creator> <pubDate>Tue, 23 Apr 2013 13:09:45 +0000</pubDate> <guid
isPermaLink="false">http://www.sitepoint.com/?p=65533#comment-1083229</guid> <description><![CDATA[However you look at it, loading jQuery 1.9 in some browsers and jQuery 2.0 in others is an unnecessary overhead. Why are you doing it? What&#039;s the advantage? I&#039;m sure it&#039;ll work fine and won&#039;t cause any noticeable delays in most cases. However, at worst, your site will break in one version and not the other. Either way, you&#039;ll need more stringent testing.
Remember also that IE9 and below understand Conditional Comments. IE10+ and all other browsers do not. Can you guarantee your syntax will be correctly parsed in all browsers every time?
Keep it simple:
If you need to support IE6/7/8, use jQuery 1.9
If you&#039;re happy to support IE9+, use jQuery 2.0]]></description> <content:encoded><![CDATA[<p>However you look at it, loading jQuery 1.9 in some browsers and jQuery 2.0 in others is an unnecessary overhead. Why are you doing it? What&#8217;s the advantage? I&#8217;m sure it&#8217;ll work fine and won&#8217;t cause any noticeable delays in most cases. However, at worst, your site will break in one version and not the other. Either way, you&#8217;ll need more stringent testing.</p><p>Remember also that IE9 and below understand Conditional Comments. IE10+ and all other browsers do not. Can you guarantee your syntax will be correctly parsed in all browsers every time?</p><p>Keep it simple:<br
/> If you need to support IE6/7/8, use jQuery 1.9<br
/> If you&#8217;re happy to support IE9+, use jQuery 2.0</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 26/69 queries in 0.075 seconds using memcached
Object Caching 577/630 objects using memcached

Served from: www.sitepoint.com @ 2013-05-14 17:49:36 --