Move Reflect assignment.

This commit is contained in:
John-David Dalton
2015-07-17 00:16:40 -07:00
parent 24d592f94f
commit 3c342adb67

View File

@@ -729,7 +729,6 @@
Math = context.Math, Math = context.Math,
Number = context.Number, Number = context.Number,
Object = context.Object, Object = context.Object,
Reflect = context.Reflect,
RegExp = context.RegExp, RegExp = context.RegExp,
String = context.String, String = context.String,
TypeError = context.TypeError; TypeError = context.TypeError;
@@ -766,19 +765,20 @@
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
); );
/** Native method references. */ /** Native method and object references. */
var ArrayBuffer = context.ArrayBuffer, var ArrayBuffer = context.ArrayBuffer,
Reflect = context.Reflect,
Set = getNative(context, 'Set'),
Uint8Array = context.Uint8Array,
WeakMap = getNative(context, 'WeakMap'),
clearTimeout = context.clearTimeout, clearTimeout = context.clearTimeout,
enumerate = Reflect ? Reflect.enumerate : undefined, enumerate = Reflect ? Reflect.enumerate : undefined,
getPrototypeOf = Object.getPrototypeOf, getPrototypeOf = Object.getPrototypeOf,
parseFloat = context.parseFloat, parseFloat = context.parseFloat,
pow = Math.pow, pow = Math.pow,
propertyIsEnumerable = objectProto.propertyIsEnumerable, propertyIsEnumerable = objectProto.propertyIsEnumerable,
Set = getNative(context, 'Set'),
setTimeout = context.setTimeout, setTimeout = context.setTimeout,
splice = arrayProto.splice, splice = arrayProto.splice;
Uint8Array = context.Uint8Array,
WeakMap = getNative(context, 'WeakMap');
/* Native method references for those with the same name as other `lodash` methods. */ /* Native method references for those with the same name as other `lodash` methods. */
var nativeCeil = Math.ceil, var nativeCeil = Math.ceil,