X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=jquery%2Fjquery.js;h=a275b02069458b98ecac398ffeb76836e8628f1e;hb=6596108635d88116be67f6d22183588822e41c44;hp=a7629d51b840fac3748da2a3d8cc6e701eb48b01;hpb=66565227051d2e1a066268fe1a7416b3d304e602;p=jquery.git diff --git a/jquery/jquery.js b/jquery/jquery.js index a7629d5..a275b02 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -318,8 +318,6 @@ function $(a,c) { return self; } -$.execute = 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 = $.execute('o.$$exec(' + p.join(',') + ')'); + var r = eval('o.$$exec(' + p.join(',') + ')'); o.$$exec = null; return r; } @@ -625,7 +623,7 @@ $.filter = function(t,r,not) { } if ( f !== null ) { - $.execute('f = function(a,i){return ' + f + '}'); + eval('f = function(a,i){return ' + f + '}'); r = g( r, f ); } }