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