Adjust conditional assignments.

This commit is contained in:
John-David Dalton
2016-10-31 20:34:49 -07:00
parent 65daae2043
commit 62b66305f2

View File

@@ -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,