mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Adjust conditional assignments.
This commit is contained in:
@@ -44,12 +44,12 @@
|
|||||||
/** Method and object shortcuts. */
|
/** Method and object shortcuts. */
|
||||||
var phantom = root.phantom,
|
var phantom = root.phantom,
|
||||||
process = root.process,
|
process = root.process,
|
||||||
amd = root.define && define.amd,
|
amd = root.define ? define.amd : undefined,
|
||||||
args = toArgs([1, 2, 3]),
|
args = toArgs([1, 2, 3]),
|
||||||
argv = process && process.argv,
|
argv = process ? process.argv : undefined,
|
||||||
defineProperty = Object.defineProperty,
|
defineProperty = Object.defineProperty,
|
||||||
document = !phantom && root.document,
|
document = phantom ? undefined : root.document,
|
||||||
body = root.document && root.document.body,
|
body = root.document ? root.document.body : undefined,
|
||||||
create = Object.create,
|
create = Object.create,
|
||||||
fnToString = funcProto.toString,
|
fnToString = funcProto.toString,
|
||||||
freeze = Object.freeze,
|
freeze = Object.freeze,
|
||||||
|
|||||||
Reference in New Issue
Block a user