mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Minor whitespace nits.
Former-commit-id: 53a50cbb83cd638f42c0b943c8c2eb354403c787
This commit is contained in:
@@ -503,7 +503,7 @@
|
|||||||
|
|
||||||
/* Native method shortcuts for methods with the same name as other `lodash` methods */
|
/* Native method shortcuts for methods with the same name as other `lodash` methods */
|
||||||
var nativeBind = reNative.test(nativeBind = toString.bind) && nativeBind,
|
var nativeBind = reNative.test(nativeBind = toString.bind) && nativeBind,
|
||||||
nativeCreate = reNative.test(nativeCreate = Object.create) && nativeCreate,
|
nativeCreate = reNative.test(nativeCreate = Object.create) && nativeCreate,
|
||||||
nativeIsArray = reNative.test(nativeIsArray = Array.isArray) && nativeIsArray,
|
nativeIsArray = reNative.test(nativeIsArray = Array.isArray) && nativeIsArray,
|
||||||
nativeIsFinite = context.isFinite,
|
nativeIsFinite = context.isFinite,
|
||||||
nativeIsNaN = context.isNaN,
|
nativeIsNaN = context.isNaN,
|
||||||
@@ -1094,7 +1094,7 @@
|
|||||||
return isObject(prototype) ? nativeCreate(prototype) : {};
|
return isObject(prototype) ? nativeCreate(prototype) : {};
|
||||||
}
|
}
|
||||||
// fallback for browsers without `Object.create`
|
// fallback for browsers without `Object.create`
|
||||||
if (!nativeCreate) {
|
if (!nativeCreate) {
|
||||||
var createObject = function(prototype) {
|
var createObject = function(prototype) {
|
||||||
if (isObject(prototype)) {
|
if (isObject(prototype)) {
|
||||||
noop.prototype = prototype;
|
noop.prototype = prototype;
|
||||||
|
|||||||
Reference in New Issue
Block a user