mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Avoid test path for non node/phantom.
This commit is contained in:
@@ -316,7 +316,7 @@
|
|||||||
].join('\n')));
|
].join('\n')));
|
||||||
}
|
}
|
||||||
catch(e) {
|
catch(e) {
|
||||||
if (typeof require != 'function') {
|
if (amd || isJava || typeof require != 'function' || !_.isObject(require.cache)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user