From 7c8409d7c2dc2bb95d7f0968bbddc9b016c3860a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 25 Dec 2011 16:27:46 +0100 Subject: [PATCH] Do not mess with native prototypes in Bootstrap.js --- lib/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bootstrap.js b/lib/bootstrap.js index 89b6be14..aaed4e9f 100644 --- a/lib/bootstrap.js +++ b/lib/bootstrap.js @@ -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); },