Open jpuffer opened 8 years ago
I'm sorry but I'm really busy these weeks and have no time to get it fixed. But I believe the round method has been implemented natively in momentjs now?
Nope, Moment still references your plugin in the official docs http://momentjs.com/docs/#/plugins/round/
Not a big deal though, I just made a copy of the plugin and changed the first two lines to
define(function(require) {
'use strict';
var moment = require("moment");
and deleted .call(this);
from the end.
That fixed it for me. I would PR but I'm guessing this ruins the whole thing for regular non-module use.
Cannot be used with projects which productionize using Requirejs's built in optimizer. The following error in the optimized version: