mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Add parseFloat to contextProps.
This commit is contained in:
@@ -154,9 +154,8 @@
|
|||||||
'Array', 'ArrayBuffer', 'Date', 'Error', 'Float32Array', 'Float64Array',
|
'Array', 'ArrayBuffer', 'Date', 'Error', 'Float32Array', 'Float64Array',
|
||||||
'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Math', 'Number',
|
'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Math', 'Number',
|
||||||
'Object', 'RegExp', 'Set', 'String', '_', 'clearTimeout', 'document',
|
'Object', 'RegExp', 'Set', 'String', '_', 'clearTimeout', 'document',
|
||||||
'isFinite', 'parseInt', 'setTimeout', 'TypeError', 'Uint8Array',
|
'isFinite', 'parseFloat', 'parseInt', 'setTimeout', 'TypeError', 'Uint8Array',
|
||||||
'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',
|
'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap', 'window'
|
||||||
'window'
|
|
||||||
];
|
];
|
||||||
|
|
||||||
/** Used to fix the JScript `[[DontEnum]]` bug. */
|
/** Used to fix the JScript `[[DontEnum]]` bug. */
|
||||||
@@ -774,6 +773,7 @@
|
|||||||
clearTimeout = context.clearTimeout,
|
clearTimeout = context.clearTimeout,
|
||||||
floor = Math.floor,
|
floor = Math.floor,
|
||||||
getPrototypeOf = getNative(Object, 'getPrototypeOf'),
|
getPrototypeOf = getNative(Object, 'getPrototypeOf'),
|
||||||
|
parseFloat = context.parseFloat,
|
||||||
push = arrayProto.push,
|
push = arrayProto.push,
|
||||||
propertyIsEnumerable = objectProto.propertyIsEnumerable,
|
propertyIsEnumerable = objectProto.propertyIsEnumerable,
|
||||||
Set = getNative(context, 'Set'),
|
Set = getNative(context, 'Set'),
|
||||||
|
|||||||
Reference in New Issue
Block a user