git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug with the packed version of jQuery.
[jquery.git]
/
src
/
jquery
/
jquery.js
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
7c0562a
..
9cff1cd
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-1434,7
+1434,7
@@
jQuery.extend({
fn.call( obj[i], i, obj[i] );
else
for ( var i = 0, ol = obj.length, val = obj[0];
fn.call( obj[i], i, obj[i] );
else
for ( var i = 0, ol = obj.length, val = obj[0];
- i < ol && fn.call(val,i,val) !== false; val = obj[++i] );
+ i < ol && fn.call(val,i,val) !== false; val = obj[++i] ){}
}
return obj;
}
return obj;
@@
-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" )
// 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 = [];
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" )
// 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 = [];
var result = [];