mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Do not mess with native prototypes in Bootstrap.js
This commit is contained in:
parent
1e690a68e0
commit
7c8409d7c2
1 changed files with 1 additions and 1 deletions
2
lib/bootstrap.js
vendored
2
lib/bootstrap.js
vendored
|
@ -33,7 +33,7 @@ var Base = new function() { // Bootstrap scope
|
|||
return toString.call(obj) === '[object Array]';
|
||||
},
|
||||
slice = proto.slice,
|
||||
forEach = proto.forEach = proto.forEach || function(iter, bind) {
|
||||
forEach = proto.forEach || function(iter, bind) {
|
||||
for (var i = 0, l = this.length; i < l; i++)
|
||||
iter.call(bind, this[i], i, this);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue