Skip to content

Commit 2131d6b

Browse files
committed
fixing previous commit for IE
1 parent d269b17 commit 2131d6b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

underscore.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@
2929
var
3030
nativeIsArray = Array.isArray,
3131
nativeKeys = Object.keys,
32-
nativeBind = FuncProto.bind;
32+
nativeBind = FuncProto.bind,
33+
nativeCreate = Object.create;
34+
35+
// Naked function reference for surrogate-prototype-swapping.
36+
var Ctor = function(){};
3337

3438
// Create a safe reference to the Underscore object for use below.
3539
var _ = function(obj) {

0 commit comments

Comments
 (0)