We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cbf5e07 + fddd30c commit f29808dCopy full SHA for f29808d
1 file changed
lib/lodash.js
@@ -2,7 +2,7 @@
2
3
var lodash;
4
5
-if (require) {
+if (typeof require === "function") {
6
try {
7
lodash = require("lodash");
8
} catch (e) {}
0 commit comments