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. */
var phantom = root.phantom,
process = root.process,
amd = root.define && define.amd,
amd = root.define ? define.amd : undefined,
args = toArgs([1, 2, 3]),
argv = process && process.argv,
argv = process ? process.argv : undefined,
defineProperty = Object.defineProperty,
document = !phantom && root.document,
body = root.document && root.document.body,
document = phantom ? undefined : root.document,
body = root.document ? root.document.body : undefined,
create = Object.create,
fnToString = funcProto.toString,
freeze = Object.freeze,