jquery core: updating a comment, thanks to Scott for spotting it.
authorAriel Flesler <aflesler@gmail.com>
Fri, 16 May 2008 16:41:12 +0000 (16:41 +0000)
committerAriel Flesler <aflesler@gmail.com>
Fri, 16 May 2008 16:41:12 +0000 (16:41 +0000)
src/core.js

index 511180a..27cdbfe 100644 (file)
@@ -774,7 +774,7 @@ jQuery.extend({
                                        "";
                },
 
-               // internal only, use is(".class")
+               // internal only, use hasClass("class")
                has: function( elem, className ) {
                        return jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1;
                }