rzymek/meteor-fullcalendar

Conflict with momentjs:moment?

Closed this issue · 1 comments

I keep getting errors:

momentjs_moment.js:186 Uncaught TypeError: config._d.getTime is not a function
Moment @ momentjs_moment.js:186
clone @ momentjs_moment.js:1848
newMomentProto.clone @ rzymek_fullcalendar.js:926
moment_format__toISOString @ momentjs_moment.js:1944
EJSON.stringify @ ejson.js:343
stringify @ reactive-dict.js:6
_.extend.set @ reactive-dict.js:61
Template.events.helpers.options.eventClick @ visits.js:40
trigger @ rzymek_fullcalendar.js:8308
fc.View.Class.extend.trigger @ rzymek_fullcalendar.js:6635
Grid.mixin.bindSegHandlers.$.each.click @ rzymek_fullcalendar.js:3647
(anonymous function) @ rzymek_fullcalendar.js:3665
jQuery.event.dispatch @ jquery.js:4665
jQuery.event.add.elemData.handle @ jquery.js:4333

Can you kindly help? @rzymek

Found it. It was because of the mismatch of momentjs versions. You use 2.8.4.