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:
John-David Dalton
2014-01-09 01:29:05 -08:00
parent cb22fb54e8
commit a36a5363b4
7 changed files with 38 additions and 38 deletions

View File

@@ -19,7 +19,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 to match HTML entities and HTML characters */
var reEscapedHtml = /&(?:amp|lt|gt|quot|#x27);/g,