mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Replace "shortcut" with "reference" in code comments. [ci skip]
This commit is contained in:
@@ -120,7 +120,7 @@
|
|||||||
/** Used to make template sourceURLs easier to identify */
|
/** Used to make template sourceURLs easier to identify */
|
||||||
var templateCounter = 0;
|
var templateCounter = 0;
|
||||||
|
|
||||||
/** `Object#toString` result shortcuts */
|
/** `Object#toString` result references */
|
||||||
var argsClass = '[object Arguments]',
|
var argsClass = '[object Arguments]',
|
||||||
arrayClass = '[object Array]',
|
arrayClass = '[object Array]',
|
||||||
boolClass = '[object Boolean]',
|
boolClass = '[object Boolean]',
|
||||||
@@ -651,7 +651,7 @@
|
|||||||
.replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
.replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
||||||
);
|
);
|
||||||
|
|
||||||
/** Native method shortcuts */
|
/** Native method references */
|
||||||
var ArrayBuffer = isNative(ArrayBuffer = context.ArrayBuffer) && ArrayBuffer,
|
var ArrayBuffer = isNative(ArrayBuffer = context.ArrayBuffer) && ArrayBuffer,
|
||||||
bufferSlice = isNative(bufferSlice = ArrayBuffer && new ArrayBuffer(0).slice) && bufferSlice,
|
bufferSlice = isNative(bufferSlice = ArrayBuffer && new ArrayBuffer(0).slice) && bufferSlice,
|
||||||
ceil = Math.ceil,
|
ceil = Math.ceil,
|
||||||
@@ -679,7 +679,7 @@
|
|||||||
return result;
|
return result;
|
||||||
}());
|
}());
|
||||||
|
|
||||||
/* Native method shortcuts for methods with the same name as other `lodash` methods */
|
/* Native method references for those with the same name as other `lodash` methods */
|
||||||
var nativeContains = isNative(nativeContains = stringProto.contains) && nativeContains,
|
var nativeContains = isNative(nativeContains = stringProto.contains) && nativeContains,
|
||||||
nativeCreate = isNative(nativeCreate = Object.create) && nativeCreate,
|
nativeCreate = isNative(nativeCreate = Object.create) && nativeCreate,
|
||||||
nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray,
|
nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray,
|
||||||
|
|||||||
Reference in New Issue
Block a user