kellysutton / ember-number-to-human-size

A simple Ember helper for adding a Rails-inspired number-to-human-size helper
MIT License
6 stars 1 forks source link

Use Ember.Helper if available #3

Closed meleyal closed 8 years ago

meleyal commented 8 years ago

This PR adds a makeHelper util function to make a helper that's compatible with the current Ember version (based on the availability of Ember.Helper, Ember.HTMLBars or Ember.Handlebars).

This fixes deprecation warnings in newer versions of Ember, while maintaining compatibility with older versions.

It also updates ember-cli to the latest version 1.13.13, which fixes the CI builds.

kellysutton commented 8 years ago

Merged and incremented the version to 0.3.0. Thanks!

meleyal commented 8 years ago

Thanks! Could you push this to npm?

kellysutton commented 8 years ago

Done!