Simplify test condition.

This commit is contained in:
John-David Dalton
2014-07-07 07:53:33 -07:00
parent 7854cd1f94
commit 1365882de4

View File

@@ -316,7 +316,7 @@
].join('\n')));
}
catch(e) {
if (amd || isJava || typeof require != 'function' || !_.isObject(require.cache)) {
if (!phantom) {
return;
}
}