<?xml version="1.0" encoding="UTF-8"?><rss version="2.0">	<channel>		<title>All Blog Comments</title>		<language>en-us</language>		<link>http://addyosmani.com/blog</link>		<description>All comments from AddyOsmani.com | Where Web Businesses Grow</description><item>
<author>@PostHopeLive</author><title>@PostHopeLive - Exploring JavaScript&#039;s Logical OR Operator</title><link>http://addyosmani.com/blog/exploring-javascripts-logical-or-operator/#IDComment225922629</link><description>Great read! Was just wondering why this:  var foo = bar = bar &amp;amp;&amp;amp; bar.length &amp;amp;&amp;amp; bar ||     (bar = $(&amp;#039;#bar&amp;#039;)).length ? bar :     $(&amp;#039;&amp;lt;div /&amp;gt;&amp;#039;, { id: &amp;#039;bar&amp;#039; });  was not just this:  var foo = bar = bar ||     (bar = $(&amp;#039;#bar&amp;#039;)).length      ? bar      : $(&amp;#039;&amp;lt;div /&amp;gt;&amp;#039;, { id: &amp;#039;bar&amp;#039; });  Am I missing something? </description><pubDate>Wed, 23 Nov 2011 00:55:11 +0000</pubDate><guid>http://addyosmani.com/blog/exploring-javascripts-logical-or-operator/#IDComment225922629</guid></item><item>
<author>azella</author><title>azella - jQuery Fubar - How To Create A Website Toolbar From Scratch And Add Widgets To It</title><link>http://addyosmani.com/blog/jquery-fubar-how-to-create-a-website-toolbar-from-scratch-and-add-widgets-to-it/#IDComment225708783</link><description>Really thanks for this great Turtorial. </description><pubDate>Tue, 22 Nov 2011 14:53:21 +0000</pubDate><guid>http://addyosmani.com/blog/jquery-fubar-how-to-create-a-website-toolbar-from-scratch-and-add-widgets-to-it/#IDComment225708783</guid></item><item>
<author>Kapil Goenka</author><title>Kapil Goenka - Building Mobile JavaScript WebApps With Backbone.js &amp; jQuery: Part I</title><link>http://addyosmani.com/blog/building-mobile-javascript-webapps-with-backbone-js-jquery-part-i/#IDComment225361406</link><description>Just finished reading Part 1, and it was really helpful! Keeping an eye out for the part 2 </description><pubDate>Mon, 21 Nov 2011 22:12:20 +0000</pubDate><guid>http://addyosmani.com/blog/building-mobile-javascript-webapps-with-backbone-js-jquery-part-i/#IDComment225361406</guid></item><item>
<author>Addy</author><title>Addy - Exploring JavaScript&#039;s Logical OR Operator</title><link>http://addyosmani.com/blog/exploring-javascripts-logical-or-operator/#IDComment225279080</link><description>Thanks! Fixing now. I think an update must have broken it.  </description><pubDate>Mon, 21 Nov 2011 18:31:55 +0000</pubDate><guid>http://addyosmani.com/blog/exploring-javascripts-logical-or-operator/#IDComment225279080</guid></item><item>
<author>Thomas Giles</author><title>Thomas Giles - Exploring JavaScript&#039;s Logical OR Operator</title><link>http://addyosmani.com/blog/exploring-javascripts-logical-or-operator/#IDComment225158316</link><description>Great article. Very informative and interesting... The second-to-last code snippet seems to have broken, though. The site displays it as 2 snippets, when I guess they&amp;#039;re meant to be one? </description><pubDate>Mon, 21 Nov 2011 13:05:58 +0000</pubDate><guid>http://addyosmani.com/blog/exploring-javascripts-logical-or-operator/#IDComment225158316</guid></item><item>
<author>Ady Levy</author><title>Ady Levy - Essential JavaScript Namespacing Patterns</title><link>http://addyosmani.com/blog/essential-js-namespacing/#IDComment224910785</link><description>Hi Addy, Great post, and great blog! well done! i really enjoy reading your posts , there aren&amp;#039;t alot of places to read such interesting JavaScript articles now days.   My preferred pattern would be something like this :  var myApp=(function(){  var MyApp = function () { var that=this; // this is the constructor $(function () { that.init(); }); };   MyApp.prototype = {         constructor: MyApp,         init: function () { console.log(&amp;#039;init called&amp;#039;); } }   return MyApp; })();  new myApp();  That reminds me more of a real Class .. in a way :)  Thanks for the great post again, Ady  </description><pubDate>Sun, 20 Nov 2011 22:24:36 +0000</pubDate><guid>http://addyosmani.com/blog/essential-js-namespacing/#IDComment224910785</guid></item><item>
<author>@pomeh</author><title>@pomeh - Exploring JavaScript&#039;s Logical OR Operator</title><link>http://addyosmani.com/blog/exploring-javascripts-logical-or-operator/#IDComment224908925</link><description>Thanks for this article :)  This technique is also useful with the RegExp.exec method. Look at this:  var expr = /(w+).com/,     str = &amp;quot;addyosmani.com&amp;quot;,     parts = expr.exec( str )   ||   [ &amp;quot;&amp;quot;, &amp;quot;default value&amp;quot; ],     domainName = parts[ 1 ];  if( domainName ) {     // ... }  This&amp;#039;ll execute the regular expression &amp;quot;expr&amp;quot; over the string &amp;quot;str&amp;quot;. In case it match, exec method will return an array containing the full string and the match part (2 length array). In case it fails, it will returns null; the OR operator is useful now, allowing us to return a default array of values (2 length too). Then, in every case, we&amp;#039;re using that array and we&amp;#039;re getting the element which index is 1. The good part here is that the &amp;quot;parts&amp;quot; variable will always be an array. If we remove the OR trick, then it may return null in some case, and then the parts[1] could throw an error like &amp;quot;TypeError: Cannot read property &amp;#039;1&amp;#039; of null&amp;quot;.  Hope you&amp;#039;ll like it :) </description><pubDate>Sun, 20 Nov 2011 22:19:46 +0000</pubDate><guid>http://addyosmani.com/blog/exploring-javascripts-logical-or-operator/#IDComment224908925</guid></item><item>
<author>Zac</author><title>Zac - Building Mobile JavaScript WebApps With Backbone.js &amp; jQuery: Part I</title><link>http://addyosmani.com/blog/building-mobile-javascript-webapps-with-backbone-js-jquery-part-i/#IDComment224565867</link><description>I would LOVE to see part 2 of this article! </description><pubDate>Sat, 19 Nov 2011 23:38:52 +0000</pubDate><guid>http://addyosmani.com/blog/building-mobile-javascript-webapps-with-backbone-js-jquery-part-i/#IDComment224565867</guid></item><item>
<author>Norman</author><title>Norman - Essential JavaScript And jQuery Design Patterns - A Free New Book</title><link>http://addyosmani.com/blog/essentialjsdesignpatterns/#IDComment224325375</link><description>Nice,we use jquery.Thankyou for the book away to have a good look through now.All the best, </description><pubDate>Sat, 19 Nov 2011 10:30:03 +0000</pubDate><guid>http://addyosmani.com/blog/essentialjsdesignpatterns/#IDComment224325375</guid></item><item>
<author>senuke x service</author><title>senuke x service - Essential JavaScript And jQuery Design Patterns - A Free New Book</title><link>http://addyosmani.com/blog/essentialjsdesignpatterns/#IDComment224265563</link><description>Excellent post. Please continue to write. </description><pubDate>Sat, 19 Nov 2011 07:54:00 +0000</pubDate><guid>http://addyosmani.com/blog/essentialjsdesignpatterns/#IDComment224265563</guid></item><item>
<author>Yoh Suzuki</author><title>Yoh Suzuki - Exploring JavaScript&#039;s Logical OR Operator</title><link>http://addyosmani.com/blog/exploring-javascripts-logical-or-operator/#IDComment223997613</link><description>You probably never want to do &amp;quot;a = a || 5;&amp;quot; when you&amp;#039;re trying to establish a default value for a numeric parameter.  If a===0, it&amp;#039;ll get changed to 5 here. </description><pubDate>Fri, 18 Nov 2011 18:44:39 +0000</pubDate><guid>http://addyosmani.com/blog/exploring-javascripts-logical-or-operator/#IDComment223997613</guid></item><item>
<author>Swimming Pools</author><title>Swimming Pools - 10 Professional Tips for Front-End Developers</title><link>http://addyosmani.com/blog/10-incredibly-professional-tips-for-web-designers-and-web-developers/#IDComment223919477</link><description>#1 is definitely the best tip. If you have no passion for what you do, then you won&amp;#039;t have your heart in it, and your designs will surely suffer.  </description><pubDate>Fri, 18 Nov 2011 15:19:12 +0000</pubDate><guid>http://addyosmani.com/blog/10-incredibly-professional-tips-for-web-designers-and-web-developers/#IDComment223919477</guid></item><item>
<author>Raymond</author><title>Raymond - jQuery UI CoverFlow 2.0 Using $.widget</title><link>http://addyosmani.com/blog/jqueryuicoverflow/#IDComment223821143</link><description>Hi Tom, did you find your answer? Caus i like to know how to do that :-) </description><pubDate>Fri, 18 Nov 2011 10:11:08 +0000</pubDate><guid>http://addyosmani.com/blog/jqueryuicoverflow/#IDComment223821143</guid></item><item>
<author>Raymond</author><title>Raymond - jQuery UI CoverFlow 2.0 Using $.widget</title><link>http://addyosmani.com/blog/jqueryuicoverflow/#IDComment223813083</link><description>Hi! I have the same issue. I would like to adjust the starting point of the coverflow. Did you find out how? Caus i would like to know :). Or have you found an alternative?   Thanks! </description><pubDate>Fri, 18 Nov 2011 09:42:45 +0000</pubDate><guid>http://addyosmani.com/blog/jqueryuicoverflow/#IDComment223813083</guid></item><item>
<author>khan</author><title>khan - Avoiding The Quirks: Lessons From A JavaScript Code Review</title><link>http://addyosmani.com/blog/lessons-from-a-javascript-code-review/#IDComment222288605</link><description>no doubt really hard work of coding on javascript. Thanks buddy for this, it&amp;#039;s save my time and load of work on the topic.  </description><pubDate>Tue, 15 Nov 2011 11:37:36 +0000</pubDate><guid>http://addyosmani.com/blog/lessons-from-a-javascript-code-review/#IDComment222288605</guid></item><item>
<author>khan</author><title>khan - WanderWall - A jQuery, CSS3 &amp; HTML5 Hover-Based Interface</title><link>http://addyosmani.com/blog/wanderwall/#IDComment222271825</link><description>simply nice and amazing work. Bookmarked for future reference. Count my thanks in this regard.  </description><pubDate>Tue, 15 Nov 2011 10:44:57 +0000</pubDate><guid>http://addyosmani.com/blog/wanderwall/#IDComment222271825</guid></item><item>
<author>Y8 games</author><title>Y8 games - Extending CSS Using jQuery With Chris Coyier</title><link>http://addyosmani.com/blog/extending-css-with-jquery-a-new-years-guide/#IDComment222162752</link><description>I like this blog, thanks a lot </description><pubDate>Tue, 15 Nov 2011 04:48:59 +0000</pubDate><guid>http://addyosmani.com/blog/extending-css-with-jquery-a-new-years-guide/#IDComment222162752</guid></item><item>
<author>Sammy</author><title>Sammy - jQuery 1.7 Beta Release Preview</title><link>http://addyosmani.com/blog/jquery-17-preview/#IDComment221424991</link><description>yeah. Perhaps because so many people are using it - so it&amp;#039;s impossible to wrap jQuery into define function as this would force everyone into using AMD loaders. So pollution is still there.  It probably be better to create alternative jQuery file that&amp;#039;s packaged fully as AMD module.  Another problem is - as of now define() in jQuery called prior to the file end, so not all functionality of jQuery will be loaded by that moment which will lead to errors. I think there is a bug report for this already. IMHO - jquery AMD implementation as of now is half-arsed. </description><pubDate>Sun, 13 Nov 2011 17:29:45 +0000</pubDate><guid>http://addyosmani.com/blog/jquery-17-preview/#IDComment221424991</guid></item><item>
<author>Martin</author><title>Martin - Writing Modular JavaScript With AMD, CommonJS &amp; ES Harmony</title><link>http://addyosmani.com/blog/writing-modular-javascript/#IDComment220395731</link><description>Hi,  Thanks for the good article!  I have a short question: is it possible to monkey patch a dependency somehow ? With Object Literal it is quite easy to override the default behavior of a method thru the prototype but with AMD the dependencies come as function arguments and I&amp;#039;m not sure whether it is still possible. </description><pubDate>Fri, 11 Nov 2011 13:39:35 +0000</pubDate><guid>http://addyosmani.com/blog/writing-modular-javascript/#IDComment220395731</guid></item><item>
<author>William V. Sobers</author><title>William V. Sobers - CSS3 Transition Animations With jQuery Fallbacks</title><link>http://addyosmani.com/blog/css3transitions-jquery/#IDComment220360782</link><description>An excellent post and very helpful tutorial which can be a very huge help to those who doesn&amp;#039;t know. </description><pubDate>Fri, 11 Nov 2011 12:12:33 +0000</pubDate><guid>http://addyosmani.com/blog/css3transitions-jquery/#IDComment220360782</guid></item>	</channel></rss>