We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4954cf1 + ad8bd24 commit 7d34bd5Copy full SHA for 7d34bd5
moment-precise-range.js
@@ -1,4 +1,4 @@
1
-if (typeof moment === "undefined" && require) {
+if (typeof moment === "undefined" && typeof require === 'function') {
2
moment = require('moment');
3
}
4
0 commit comments