Ensure EXPANDO doesn't disable fast properties in v8.

This commit is contained in:
John-David Dalton
2014-07-24 21:41:05 -07:00
parent 5178c3e67f
commit 642ed4061a
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
PARTIAL_RIGHT_FLAG = 64;
/** Used as the property name for wrapper metadata */
var EXPANDO = '__lodash@' + VERSION + '__';
var EXPANDO = '__lodash_' + VERSION.replace(/[-.]/g, '_') + '__';
/** Used as the TypeError message for "Functions" methods */
var FUNC_ERROR_TEXT = 'Expected a function';