mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Move tag references higher in source.
This commit is contained in:
committed by
jdalton
parent
1826cc8870
commit
1d4d919f6d
@@ -44,6 +44,32 @@
|
|||||||
/** Used as the internal argument placeholder. */
|
/** Used as the internal argument placeholder. */
|
||||||
var PLACEHOLDER = '__lodash_placeholder__';
|
var PLACEHOLDER = '__lodash_placeholder__';
|
||||||
|
|
||||||
|
/** `Object#toString` result references. */
|
||||||
|
var argsTag = '[object Arguments]',
|
||||||
|
arrayTag = '[object Array]',
|
||||||
|
boolTag = '[object Boolean]',
|
||||||
|
dateTag = '[object Date]',
|
||||||
|
errorTag = '[object Error]',
|
||||||
|
funcTag = '[object Function]',
|
||||||
|
mapTag = '[object Map]',
|
||||||
|
numberTag = '[object Number]',
|
||||||
|
objectTag = '[object Object]',
|
||||||
|
regexpTag = '[object RegExp]',
|
||||||
|
setTag = '[object Set]',
|
||||||
|
stringTag = '[object String]',
|
||||||
|
weakMapTag = '[object WeakMap]';
|
||||||
|
|
||||||
|
var arrayBufferTag = '[object ArrayBuffer]',
|
||||||
|
float32Tag = '[object Float32Array]',
|
||||||
|
float64Tag = '[object Float64Array]',
|
||||||
|
int8Tag = '[object Int8Array]',
|
||||||
|
int16Tag = '[object Int16Array]',
|
||||||
|
int32Tag = '[object Int32Array]',
|
||||||
|
uint8Tag = '[object Uint8Array]',
|
||||||
|
uint8ClampedTag = '[object Uint8ClampedArray]',
|
||||||
|
uint16Tag = '[object Uint16Array]',
|
||||||
|
uint32Tag = '[object Uint32Array]';
|
||||||
|
|
||||||
/** Used to match empty string literals in compiled template source. */
|
/** Used to match empty string literals in compiled template source. */
|
||||||
var reEmptyStringLeading = /\b__p \+= '';/g,
|
var reEmptyStringLeading = /\b__p \+= '';/g,
|
||||||
reEmptyStringMiddle = /\b(__p \+=) '' \+/g,
|
reEmptyStringMiddle = /\b(__p \+=) '' \+/g,
|
||||||
@@ -138,32 +164,6 @@
|
|||||||
/** Used to make template sourceURLs easier to identify. */
|
/** Used to make template sourceURLs easier to identify. */
|
||||||
var templateCounter = -1;
|
var templateCounter = -1;
|
||||||
|
|
||||||
/** `Object#toString` result references. */
|
|
||||||
var argsTag = '[object Arguments]',
|
|
||||||
arrayTag = '[object Array]',
|
|
||||||
boolTag = '[object Boolean]',
|
|
||||||
dateTag = '[object Date]',
|
|
||||||
errorTag = '[object Error]',
|
|
||||||
funcTag = '[object Function]',
|
|
||||||
mapTag = '[object Map]',
|
|
||||||
numberTag = '[object Number]',
|
|
||||||
objectTag = '[object Object]',
|
|
||||||
regexpTag = '[object RegExp]',
|
|
||||||
setTag = '[object Set]',
|
|
||||||
stringTag = '[object String]',
|
|
||||||
weakMapTag = '[object WeakMap]';
|
|
||||||
|
|
||||||
var arrayBufferTag = '[object ArrayBuffer]',
|
|
||||||
float32Tag = '[object Float32Array]',
|
|
||||||
float64Tag = '[object Float64Array]',
|
|
||||||
int8Tag = '[object Int8Array]',
|
|
||||||
int16Tag = '[object Int16Array]',
|
|
||||||
int32Tag = '[object Int32Array]',
|
|
||||||
uint8Tag = '[object Uint8Array]',
|
|
||||||
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
||||||
uint16Tag = '[object Uint16Array]',
|
|
||||||
uint32Tag = '[object Uint32Array]';
|
|
||||||
|
|
||||||
/** Used to identify `toStringTag` values of typed arrays. */
|
/** Used to identify `toStringTag` values of typed arrays. */
|
||||||
var typedArrayTags = {};
|
var typedArrayTags = {};
|
||||||
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
||||||
|
|||||||
Reference in New Issue
Block a user