Remove unneeded code from the underscore build of the support object.

This commit is contained in:
John-David Dalton
2013-09-28 14:02:12 -07:00
parent 0f1e69a2df
commit 4b26b46f6a
5 changed files with 176 additions and 188 deletions

View File

@@ -6660,7 +6660,7 @@
});
// avoid array-like object bugs with `Array#shift` and `Array#splice`
// in Firefox < 10 and IE < 9
// in IE < 9, Firefox < 10, Narwhal, and RingoJS
if (!support.spliceObjects) {
baseEach(['pop', 'shift', 'splice'], function(methodName) {
var func = arrayRef[methodName],