aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriel Flesler <aflesler@gmail.com>2008-05-16 16:41:12 +0000
committerAriel Flesler <aflesler@gmail.com>2008-05-16 16:41:12 +0000
commitda76a723e14c037d59e830bb0d01b0b627286020 (patch)
tree57c6b1063ca82825891f7f1a375588b7ff2d2eea
parentafc2ebde1425722f4e2df14919c0df0ff7d2ff0c (diff)
downloadjquery-da76a723e14c037d59e830bb0d01b0b627286020.tar.gz
jquery-da76a723e14c037d59e830bb0d01b0b627286020.zip
jquery core: updating a comment, thanks to Scott for spotting it.
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index 511180a08..27cdbfe1f 100644
--- a/src/core.js
+++ b/src/core.js
@@ -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;
}