X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=jquery%2Fjquery.js;h=a275b02069458b98ecac398ffeb76836e8628f1e;hb=6596108635d88116be67f6d22183588822e41c44;hp=1076ef5e78be422e36127095be6d3c4317694b92;hpb=6e69be66878c6fe384cbf42345337d19554ffbb6;p=jquery.git diff --git a/jquery/jquery.js b/jquery/jquery.js index 1076ef5..a275b02 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -318,8 +318,6 @@ function $(a,c) { return self; } -$.eval = eval; - $.apply = function(o,f,a) { a = a || []; if ( f.apply ) { @@ -330,7 +328,7 @@ $.apply = function(o,f,a) { p[i] = 'a['+i+']'; } o.$$exec = this; - var r = $.eval('o.$$exec(' + p.join(',') + ')'); + var r = eval('o.$$exec(' + p.join(',') + ')'); o.$$exec = null; return r; } @@ -398,7 +396,7 @@ $.clean = function(a) { $.g = { '': "m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase()", - '#': "a.getAttribute('id') == m[2]", + '#': "a.attributes['id'].nodeValue == m[2]", ':': { lt: "i < m[3]-0", gt: "i > m[3]-0", @@ -625,7 +623,7 @@ $.filter = function(t,r,not) { } if ( f !== null ) { - $.eval('f = function(a,i){return ' + f + '}'); + eval('f = function(a,i){return ' + f + '}'); r = g( r, f ); } }