Skip to content

Commit d39acea

Browse files
authored
Merge pull request #27 from chrisj-skinner/master
🐛 Fix for ES6 require
2 parents 5fd6c27 + 8b30832 commit d39acea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

moment-precise-range.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if (typeof moment === "undefined" && typeof require === 'function') {
2-
moment = require('moment');
2+
var moment = require('moment');
33
}
44

55
(function(moment) {

0 commit comments

Comments
 (0)