Skip to content

Commit

Permalink
Merge pull request #5 from n3gotium/master
Browse files Browse the repository at this point in the history
Check for the options object
  • Loading branch information
brockpetrie committed Mar 7, 2016
2 parents d9297f1 + 530a827 commit e0b511e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vue-moment.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
},
});

if (options.moment) {
if (options && options.moment) {
moment = options.moment
}

Expand Down

0 comments on commit e0b511e

Please sign in to comment.