Cleanup arrayReg and splice references.

This commit is contained in:
John-David Dalton
2013-12-29 15:49:26 -06:00
parent 95be8b2cf3
commit 106fa64060
7 changed files with 43 additions and 70 deletions

11
dist/lodash.js vendored
View File

@@ -506,16 +506,9 @@
String = context.String,
TypeError = context.TypeError;
/**
* Used for `Array` method references.
*
* Normally `Array.prototype` would suffice, however, using an array literal
* avoids issues in Narwhal.
*/
var arrayRef = [];
/** Used for native method references */
var objectProto = Object.prototype,
var arrayRef = Array.prototype,
objectProto = Object.prototype,
stringProto = String.prototype;
/** Used to detect DOM support */