git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a for loop rather than for/in loop when copying events, so that code will work...
[jquery.git]
/
test
/
unit
/
manipulation.js
diff --git
a/test/unit/manipulation.js
b/test/unit/manipulation.js
index
d49029e
..
cbc0b77
100644
(file)
--- a/
test/unit/manipulation.js
+++ b/
test/unit/manipulation.js
@@
-1,5
+1,8
@@
module("manipulation");
module("manipulation");
+// Ensure that an extended Array prototype doesn't break jQuery
+Array.prototype.arrayProtoFn = function(arg) { throw("arrayProtoFn should not be called"); };
+
var bareObj = function(value) { return value; };
var functionReturningObj = function(value) { return (function() { return value; }); };
var bareObj = function(value) { return value; };
var functionReturningObj = function(value) { return (function() { return value; }); };