Update Bootstrap.js to support enumerable on instances.

This commit is contained in:
Jürg Lehni 2012-09-30 20:15:53 -07:00
parent 6ca373e237
commit 297daaf577

2
lib/bootstrap.js vendored
View file

@ -330,7 +330,7 @@ var Base = new function() { // Bootstrap scope
*/
inject: function(/* src, ... */) {
for (var i = 0, l = arguments.length; i < l; i++)
inject(this, arguments[i]);
inject(this, arguments[i], arguments[i].enumerable);
return this;
},