<?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://unfoldingneurons.com/"
> <channel><title>Comments on: HTML5 classList&#160;API</title> <atom:link href="http://davidwalsh.name/classlist/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/classlist</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Tue, 22 May 2012 05:31:04 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Kyle A. Matheny</title><link>http://davidwalsh.name/classlist#comment-32093</link> <dc:creator>Kyle A. Matheny</dc:creator> <pubDate>Tue, 08 May 2012 20:02:22 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5009#comment-32093</guid> <description>Just an update:
All modern browsers now support classList. IE is lacking, as usual.http://caniuse.com/#search=classList</description> <content:encoded><![CDATA[<p>Just an update:<br
/> All modern browsers now support classList. IE is lacking, as usual.</p><p><a
href="http://caniuse.com/#search=classList" rel="nofollow">http://caniuse.com/#search=classList</a></p> ]]></content:encoded> </item> <item><title>By: Dan Nguyen</title><link>http://davidwalsh.name/classlist#comment-32061</link> <dc:creator>Dan Nguyen</dc:creator> <pubDate>Mon, 07 May 2012 19:25:02 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5009#comment-32061</guid> <description>Maybe I&#039;m just missing it...but there&#039;s no timestamps for the blog post or comments? I&#039;m sure there&#039;s an editorial aesthetic behind it, but it makes it hard to evaluate statements such as &quot;Mozilla Firefox is the only browser that currently supports the classList API.&quot;I only take the time to complain because the post overall is an excellent reference :)</description> <content:encoded><![CDATA[<p>Maybe I&#8217;m just missing it&#8230;but there&#8217;s no timestamps for the blog post or comments? I&#8217;m sure there&#8217;s an editorial aesthetic behind it, but it makes it hard to evaluate statements such as &#8220;Mozilla Firefox is the only browser that currently supports the classList API.&#8221;</p><p>I only take the time to complain because the post overall is an excellent reference :)</p> ]]></content:encoded> </item> <item><title>By: Göldi</title><link>http://davidwalsh.name/classlist#comment-30649</link> <dc:creator>Göldi</dc:creator> <pubDate>Wed, 29 Feb 2012 22:44:27 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5009#comment-30649</guid> <description>With all these modern API implementations, programming JavaScript will be boring soon ;)</description> <content:encoded><![CDATA[<p>With all these modern API implementations, programming JavaScript will be boring soon ;)</p> ]]></content:encoded> </item> <item><title>By: Derek</title><link>http://davidwalsh.name/classlist#comment-25419</link> <dc:creator>Derek</dc:creator> <pubDate>Sat, 02 Jul 2011 03:11:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5009#comment-25419</guid> <description>Supported browsers includes Firefox and Google Chrome. Maybe Safari too? I am not sure about that...
Thanks for the great article!</description> <content:encoded><![CDATA[<p>Supported browsers includes Firefox and Google Chrome. Maybe Safari too? I am not sure about that&#8230;<br
/> Thanks for the great article!</p> ]]></content:encoded> </item> <item><title>By: gossi</title><link>http://davidwalsh.name/classlist#comment-23421</link> <dc:creator>gossi</dc:creator> <pubDate>Fri, 08 Apr 2011 11:05:59 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5009#comment-23421</guid> <description>That&#039;s good stuff, but hmm chaining seems not working (FF4):element.classList.add(&quot;added-class&quot;).remove(&quot;removed-class&quot;);does not work :/If there is room for improvement, I wish toggle, remove and add would be available for chaining. What you guys think?</description> <content:encoded><![CDATA[<p>That&#8217;s good stuff, but hmm chaining seems not working (FF4):</p><p>element.classList.add(&#8220;added-class&#8221;).remove(&#8220;removed-class&#8221;);</p><p>does not work :/</p><p>If there is room for improvement, I wish toggle, remove and add would be available for chaining. What you guys think?</p> ]]></content:encoded> </item> <item><title>By: Rudie</title><link>http://davidwalsh.name/classlist#comment-21841</link> <dc:creator>Rudie</dc:creator> <pubDate>Fri, 17 Dec 2010 18:43:49 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5009#comment-21841</guid> <description>mathias, the more &#039;accepted&#039; way to test for such properties is:&lt;code&gt;&#039;classList&#039; in document.createElement(&#039;p&#039;)&lt;/code&gt;This way also properties that are 0 or false or empty string or null are found. (In this case it doesn&#039;t matter because the classList object never evaluates to false, but still...)</description> <content:encoded><![CDATA[<p>mathias, the more &#8216;accepted&#8217; way to test for such properties is:</p><p><code>'classList' in document.createElement('p')</code></p><p>This way also properties that are 0 or false or empty string or null are found. (In this case it doesn&#8217;t matter because the classList object never evaluates to false, but still&#8230;)</p> ]]></content:encoded> </item> <item><title>By: Mathias Bynens</title><link>http://davidwalsh.name/classlist#comment-18827</link> <dc:creator>Mathias Bynens</dc:creator> <pubDate>Fri, 16 Jul 2010 07:15:22 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5009#comment-18827</guid> <description>Feature test for HTML5 classList:&lt;code&gt;if (!!document.createElement(&#039;p&#039;).classList) {
// native classList support
};&lt;/code&gt;</description> <content:encoded><![CDATA[<p>Feature test for HTML5 classList:</p><p><code>if (!!document.createElement('p').classList) {<br
/> // native classList support<br
/> };</code></p> ]]></content:encoded> </item> <item><title>By: Richieliu</title><link>http://davidwalsh.name/classlist#comment-18813</link> <dc:creator>Richieliu</dc:creator> <pubDate>Thu, 15 Jul 2010 00:59:52 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5009#comment-18813</guid> <description>very good! Has now come true?</description> <content:encoded><![CDATA[<p>very good! Has now come true?</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/classlist#comment-18774</link> <dc:creator>David Walsh</dc:creator> <pubDate>Tue, 13 Jul 2010 16:05:59 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5009#comment-18774</guid> <description>@Jani Peltoniemi:  I do too, but MooTools could (and probably will, once more browsers implement classList) use these native methods to more quickly add/remove/toggle classes.</description> <content:encoded><![CDATA[<p>@Jani Peltoniemi:  I do too, but MooTools could (and probably will, once more browsers implement classList) use these native methods to more quickly add/remove/toggle classes.</p> ]]></content:encoded> </item> <item><title>By: Jani Peltoniemi</title><link>http://davidwalsh.name/classlist#comment-18773</link> <dc:creator>Jani Peltoniemi</dc:creator> <pubDate>Tue, 13 Jul 2010 15:56:07 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=5009#comment-18773</guid> <description>It&#039;s a step forward, but I prefer Mootools&#039; Element.addClass over Element.classList.add</description> <content:encoded><![CDATA[<p>It&#8217;s a step forward, but I prefer Mootools&#8217; Element.addClass over Element.classList.add</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/7 queries in 0.013 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-22 02:34:39 -->
