Updated core code to mirror what's in the web version of latest.

This commit is contained in:
John Resig 2006-04-06 05:37:08 +00:00
parent 648f08330b
commit e3828d1a48

6
jquery/jquery.js vendored
View file

@ -1,5 +1,5 @@
/* /*
* jQuery (http://jquery.com/) * JQuery (http://jquery.com/)
* By John Resig (http://ejohn.org/) * By John Resig (http://ejohn.org/)
* Under an Attribution, Share Alike License * Under an Attribution, Share Alike License
* *
@ -383,7 +383,7 @@ $.g = {
checked: "a.checked" checked: "a.checked"
}, },
// TODO: Write getAttribute helper // 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]",
"!=": "$.attr(a,m[3]) != m[4]", "!=": "$.attr(a,m[3]) != m[4]",
@ -753,4 +753,4 @@ $.fn.text = function(e) {
setTimeout(function(){ setTimeout(function(){
if ( typeof Prototype != "undefined" && $.g == null && $.clean == null ) if ( typeof Prototype != "undefined" && $.g == null && $.clean == null )
throw "Error: You are overwriting jQuery, please include jQuery last."; throw "Error: You are overwriting jQuery, please include jQuery last.";
}, 1000); }, 1000);