From: Ariel Flesler Date: Fri, 16 May 2008 16:41:12 +0000 (+0000) Subject: jquery core: updating a comment, thanks to Scott for spotting it. X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=da76a723e14c037d59e830bb0d01b0b627286020;p=jquery.git jquery core: updating a comment, thanks to Scott for spotting it. --- diff --git a/src/core.js b/src/core.js index 511180a..27cdbfe 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; }