Open patbegg opened 8 years ago
Hi, I get the following error when using Rome v2.1.22 (node_modules/rome/src/rome.js) with npm in the browser (using grunt + browserify).
Uncaught TypeError: momentum.moment is not a function @ defaults.js:61
I can't work out exactly how 'momentum.moment' functions. Can anyone replicate this?
How are you requireing rome?
require
If you want to use your own moment.js, you can do it like this:
moment.js
var rome = require('rome/src/rome') rome.use(moment)
Hi, I get the following error when using Rome v2.1.22 (node_modules/rome/src/rome.js) with npm in the browser (using grunt + browserify).
Uncaught TypeError: momentum.moment is not a function @ defaults.js:61
I can't work out exactly how 'momentum.moment' functions. Can anyone replicate this?