<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,7 +15,7 @@ Well, luckily jQuery is ridiculously easy to extend, so why not just mix that fu
   return (this.length &gt; 0);
 }
 
-jQuery.fn.empty = function() {
+jQuery.fn.none = function() {
   return (this.length == 0);
 }&lt;/pre&gt;
 
@@ -24,3 +24,6 @@ That's all you have to do! Now we can make the same call as before, but it looks
 &lt;pre name='code' class='js'&gt;if ($('some.element').any()) {
   // do something more readably...
 }&lt;/pre&gt;
+
+*UPDATE:* Apologies, I added in the &lt;code&gt;empty&lt;/code&gt; bit as a last-second update to the post and forgot to check and realize that &lt;code&gt;empty()&lt;/code&gt; is part of jQuery core. Updated the name to &lt;code&gt;none&lt;/code&gt; instead.
+</diff>
      <filename>_posts/2009-06-19-quick-tip-railsy-array-checks-in-jquery.textile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>007740dde12dee48ba702f9e33291c6eed2328de</id>
    </parent>
  </parents>
  <author>
    <name>Michael Bleigh</name>
    <email>michael@intridea.com</email>
  </author>
  <url>http://github.com/mbleigh/mbleigh.github.com/commit/1f43a621ff08e40fb3f7e52e539f17e0d08e7af3</url>
  <id>1f43a621ff08e40fb3f7e52e539f17e0d08e7af3</id>
  <committed-date>2009-06-22T08:47:03-07:00</committed-date>
  <authored-date>2009-06-22T08:47:03-07:00</authored-date>
  <message>Fixing mistake in last post.</message>
  <tree>a050db76a82353f6a02fec07da0ce51776b3afa4</tree>
  <committer>
    <name>Michael Bleigh</name>
    <email>michael@intridea.com</email>
  </committer>
</commit>
