mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-14 04:37:50 +00:00
Rename Symbol var to _Symbol to avoid problems with Babel v6.4.0.
This commit is contained in:
12
lodash.js
12
lodash.js
@@ -1328,14 +1328,14 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
/** Built-in value references. */
|
/** Built-in value references. */
|
||||||
var Reflect = context.Reflect,
|
var _Symbol = context.Symbol,
|
||||||
Symbol = context.Symbol,
|
Reflect = context.Reflect,
|
||||||
Uint8Array = context.Uint8Array,
|
Uint8Array = context.Uint8Array,
|
||||||
clearTimeout = context.clearTimeout,
|
clearTimeout = context.clearTimeout,
|
||||||
enumerate = Reflect ? Reflect.enumerate : undefined,
|
enumerate = Reflect ? Reflect.enumerate : undefined,
|
||||||
getPrototypeOf = Object.getPrototypeOf,
|
getPrototypeOf = Object.getPrototypeOf,
|
||||||
getOwnPropertySymbols = Object.getOwnPropertySymbols,
|
getOwnPropertySymbols = Object.getOwnPropertySymbols,
|
||||||
iteratorSymbol = typeof (iteratorSymbol = Symbol && Symbol.iterator) == 'symbol' ? iteratorSymbol : undefined,
|
iteratorSymbol = typeof (iteratorSymbol = _Symbol && _Symbol.iterator) == 'symbol' ? iteratorSymbol : undefined,
|
||||||
parseFloat = context.parseFloat,
|
parseFloat = context.parseFloat,
|
||||||
pow = Math.pow,
|
pow = Math.pow,
|
||||||
propertyIsEnumerable = objectProto.propertyIsEnumerable,
|
propertyIsEnumerable = objectProto.propertyIsEnumerable,
|
||||||
@@ -1368,9 +1368,9 @@
|
|||||||
setCtorString = Set ? funcToString.call(Set) : '';
|
setCtorString = Set ? funcToString.call(Set) : '';
|
||||||
|
|
||||||
/** Used to convert symbols to primitives and strings. */
|
/** Used to convert symbols to primitives and strings. */
|
||||||
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
var symbolProto = _Symbol ? _Symbol.prototype : undefined,
|
||||||
symbolValueOf = Symbol ? symbolProto.valueOf : undefined,
|
symbolValueOf = _Symbol ? symbolProto.valueOf : undefined,
|
||||||
symbolToString = Symbol ? symbolProto.toString : undefined;
|
symbolToString = _Symbol ? symbolProto.toString : undefined;
|
||||||
|
|
||||||
/** Used to lookup unminified function names. */
|
/** Used to lookup unminified function names. */
|
||||||
var realNames = {};
|
var realNames = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user