gr2m / moment-parseformat

A moment.js plugin to extract the format of a date/time string
http://gr2m.github.io/moment-parseformat
Apache License 2.0
45 stars 30 forks source link

updating docs on CommonJS usage #10

Closed jefffriesen closed 10 years ago

jefffriesen commented 10 years ago

The current example in the docs weren't working for me. Not sure if that works in the browser, but I wanted to update the docs for node. I had to create a unique variable for parseFormat via require as can be seen below in my PR.

gr2m commented 10 years ago

That's great, thanks Jeff!