Skip to content

Commit e0b511e

Browse files
committed
Merge pull request #5 from n3gotium/master
Check for the options object
2 parents d9297f1 + 530a827 commit e0b511e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vue-moment.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
},
1111
});
1212

13-
if (options.moment) {
13+
if (options && options.moment) {
1414
moment = options.moment
1515
}
1616

0 commit comments

Comments
 (0)