mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Avoid using a unique key for keyPrefix as it causes issues when lodash is modularized into individual npm packages. [closes #446]
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
var indicatorObject = {};
|
||||
|
||||
/** Used to prefix keys to avoid issues with `__proto__` and properties on `Object.prototype` */
|
||||
var keyPrefix = +new Date + '';
|
||||
var keyPrefix = '__1335248838000__';
|
||||
|
||||
/** Used as the size when optimizations are enabled for large arrays */
|
||||
var largeArraySize = 75;
|
||||
|
||||
Reference in New Issue
Block a user