You must Login before you can answer or comment on any questions.
I need some date formatting and calculation and found a good script: momentjs.
Does somebody know how to implement this this module as CommonJS module?
I can't get it to work.
it is already setup to work as a commonJS module, see
https://raw.github.com/timrwood/moment/1.7.0/moment.js scroll to bottom of code
Oscar, could you post or gist a code sample of what you're trying?
Also, see this link for a tutorial on using a similar library.
Think you can help? Login to answer this question!