]> source.dussan.org Git - jquery.git/commitdiff
Updated core code to mirror what's in the web version of latest.
authorJohn Resig <jeresig@gmail.com>
Thu, 6 Apr 2006 05:37:08 +0000 (05:37 +0000)
committerJohn Resig <jeresig@gmail.com>
Thu, 6 Apr 2006 05:37:08 +0000 (05:37 +0000)
jquery/jquery.js

index 59b6779fe67fae48557b2b469d3ae0cfb719d4f7..66588f51d0cea90acc8d5d0533cdc54ec58f4b3f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * jQuery (http://jquery.com/)
+ * JQuery (http://jquery.com/)
  * By John Resig (http://ejohn.org/)
  * Under an Attribution, Share Alike License
  *
@@ -383,7 +383,7 @@ $.g = {
                checked: "a.checked"
        },
        // TODO: Write getAttribute helper
-       ".": "$.hasWord(a.className||a.getAttribute('class'),m[2])",
+       ".": "$.hasWord(a,m[2])",
        "@": {
                "=": "$.attr(a,m[3]) == m[4]",
                "!=": "$.attr(a,m[3]) != m[4]",
@@ -753,4 +753,4 @@ $.fn.text = function(e) {
 setTimeout(function(){
        if ( typeof Prototype != "undefined" && $.g == null && $.clean == null )
                throw "Error: You are overwriting jQuery, please include jQuery last.";
-}, 1000);
+}, 1000);
\ No newline at end of file