adopted-ember-addons / ember-moment

MIT License
400 stars 122 forks source link

Examples using imported module in JS file #295

Closed Caltor closed 5 years ago

Caltor commented 5 years ago

Could we have some examples in the readme of how to use the imported moment module in JS files please. The helper examples are great but sometimes it is desirable or necessary to do the formatting in a JS file.

Thanks

jasonmit commented 5 years ago

When imported, you're dealing with moment's API directly. There is nothing to really add to the README in that regard.