jquery core: updating a comment, thanks to Scott for spotting it.
[jquery.git] / 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;
                }