Skip to content
This repository was archived by the owner on Apr 2, 2019. It is now read-only.

Commit b670743

Browse files
committed
Fix callByNeed for IE8
1 parent 58ab1fa commit b670743

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/backgrid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ var Backgrid = root.Backgrid = {
8888

8989
var context = arguments[1];
9090
var args = [].slice.call(arguments, 2);
91-
return value.apply(context, !!(args + '') ? args : void 0);
91+
return value.apply(context, !!(args + '') ? args : []);
9292
}
9393

9494
};

src/preamble.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var Backgrid = root.Backgrid = {
6666

6767
var context = arguments[1];
6868
var args = [].slice.call(arguments, 2);
69-
return value.apply(context, !!(args + '') ? args : void 0);
69+
return value.apply(context, !!(args + '') ? args : []);
7070
}
7171

7272
};

0 commit comments

Comments
 (0)