X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=9bcec930f6ec20be6e51c0c1a73e1d37ea63830d;hb=f2f399dcd552e73f68c9e8adfe26ef7995724cb3;hp=7c0562aaf5a93bb8074173ad459e530f2a5dd42c;hpb=fc3e180465a88558321b6550ac4692d7cc4b281f;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 7c0562a..9bcec93 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1857,7 +1857,7 @@ jQuery.extend({ // If a string is passed in for the function, make a function // for it (a handy shortcut) if ( typeof fn == "string" ) - fn = eval("function(a,i){return " + fn + "}"); + fn = eval("false||function(a,i){return " + fn + "}"); var result = []; @@ -1911,7 +1911,7 @@ jQuery.extend({ // If a string is passed in for the function, make a function // for it (a handy shortcut) if ( typeof fn == "string" ) - fn = eval("function(a){return " + fn + "}"); + fn = eval("false||function(a){return " + fn + "}"); var result = [];