<?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/"
> <channel><title>Comments on: Count MooTools Events Per Element in MooTools&#160;1.2</title> <atom:link href="http://davidwalsh.name/count-mootools-events/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/count-mootools-events</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Sep 2010 10:38:51 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>By: nwhite</title><link>http://davidwalsh.name/count-mootools-events/comment-page-1#comment-10024</link> <dc:creator>nwhite</dc:creator> <pubDate>Fri, 26 Jun 2009 00:03:23 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2933#comment-10024</guid> <description>@Fabio: if David used addEvents in this case he would lose some of his events because of the duplication of the keys.element.addEvents({&#039;click&#039; : function() { console.log(&#039;click event 1&#039;); },&#039;click&#039; : function() { console.log(&#039;click event 2&#039;); }, //  blows away (click event 1)&#039;resize&#039; : function() { console.log(&#039;resize event 1&#039;); },&#039;mouseenter&#039; : function() { console.log(&#039;mouseenter event 1&#039;); },&#039;mouseleave&#039; : function() { console.log(&#039;mouseleave event 1&#039;); },&#039;mouseleave&#039; : function() { console.log(&#039;mouseleave event 2&#039;); }, // blows away (mouseleave event 1)&#039;mouseleave&#039; : function() { console.log(&#039;mouseleave event 3&#039;); }, // blows away (mouseleave event 2)&#039;customevent&#039; : function() { console.log(&#039;customevent event 1&#039;); }});</description> <content:encoded><![CDATA[<p>@Fabio: if David used addEvents in this case he would lose some of his events because of the duplication of the keys.</p><p>element.addEvents({</p><p> &#8216;click&#8217; : function() { console.log(&#8216;click event 1&#8242;); },</p><p> &#8216;click&#8217; : function() { console.log(&#8216;click event 2&#8242;); }, //  blows away (click event 1)</p><p> &#8216;resize&#8217; : function() { console.log(&#8216;resize event 1&#8242;); },</p><p> &#8216;mouseenter&#8217; : function() { console.log(&#8216;mouseenter event 1&#8242;); },</p><p> &#8216;mouseleave&#8217; : function() { console.log(&#8216;mouseleave event 1&#8242;); },</p><p> &#8216;mouseleave&#8217; : function() { console.log(&#8216;mouseleave event 2&#8242;); }, // blows away (mouseleave event 1)</p><p> &#8216;mouseleave&#8217; : function() { console.log(&#8216;mouseleave event 3&#8242;); }, // blows away (mouseleave event 2)</p><p> &#8216;customevent&#8217; : function() { console.log(&#8216;customevent event 1&#8242;); }</p><p>});</p> ]]></content:encoded> </item> <item><title>By: Rolf</title><link>http://davidwalsh.name/count-mootools-events/comment-page-1#comment-9976</link> <dc:creator>Rolf</dc:creator> <pubDate>Mon, 22 Jun 2009 19:59:20 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2933#comment-9976</guid> <description>When would you use this? Any real world example?</description> <content:encoded><![CDATA[<p>When would you use this? Any real world example?</p> ]]></content:encoded> </item> <item><title>By: olivier</title><link>http://davidwalsh.name/count-mootools-events/comment-page-1#comment-9925</link> <dc:creator>olivier</dc:creator> <pubDate>Thu, 18 Jun 2009 21:34:36 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2933#comment-9925</guid> <description>Interesting. I don&#039;t know how I would use that... It rarely gets so out of hand that I don&#039;t know how many events my elements have</description> <content:encoded><![CDATA[<p>Interesting. I don&#8217;t know how I would use that&#8230; It rarely gets so out of hand that I don&#8217;t know how many events my elements have</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/count-mootools-events/comment-page-1#comment-9920</link> <dc:creator>David Walsh</dc:creator> <pubDate>Thu, 18 Jun 2009 17:09:13 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2933#comment-9920</guid> <description>&lt;p&gt;Could have Fabio, but that isn&#039;t necessarily the point of the article.  :)&lt;/p&gt;</description> <content:encoded><![CDATA[<p>Could have Fabio, but that isn&#8217;t necessarily the point of the article.  :)</p> ]]></content:encoded> </item> <item><title>By: Fabio M. Costa</title><link>http://davidwalsh.name/count-mootools-events/comment-page-1#comment-9919</link> <dc:creator>Fabio M. Costa</dc:creator> <pubDate>Thu, 18 Jun 2009 17:02:50 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2933#comment-9919</guid> <description>:S Why not use element.addEvents? would save a lot of typing.</description> <content:encoded><![CDATA[<p>:S Why not use element.addEvents? would save a lot of typing.</p> ]]></content:encoded> </item> <item><title>By: Eric Wendelin</title><link>http://davidwalsh.name/count-mootools-events/comment-page-1#comment-9918</link> <dc:creator>Eric Wendelin</dc:creator> <pubDate>Thu, 18 Jun 2009 14:53:23 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2933#comment-9918</guid> <description>Yeah I would. &lt;em&gt;someone&lt;/em&gt; should write a Firebug extension that does this... </description> <content:encoded><![CDATA[<p>Yeah I would. <em>someone</em> should write a Firebug extension that does this&#8230;</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 7/15 queries in 0.016 seconds using disk

Served from: davidwalsh.name @ 2010-09-09 13:50:38 -->