kellysutton / ember-number-to-human-size Goto Github PK
View Code? Open in Web Editor NEWA simple Ember helper for adding a Rails-inspired number-to-human-size helper
License: MIT License
A simple Ember helper for adding a Rails-inspired number-to-human-size helper
License: MIT License
Hi, @kellysutton.
Thanks for your good addon!
Would you be interested in a PR with helper that takes value, its current units and convert it to the another units?
Example:
If it is interesting to you let me know - I'll start work on PR.
number-to-fixed-size
- please select appropriate one. Arguments order may be discussed too.
Ember logs the following deprecation warning:
`Ember.HTMLBars.makeBoundHelper` is deprecated.
Please refactor to using `Ember.Helper` or `Ember.Helper.helper`.
Maybe something like this for backwards compatibility:
https://github.com/stefanpenner/ember-inflector/blob/bdb4165206c9fea9b27b3bb961d9b4885cee1a6c/addon/lib/utils/make-helper.js
I get this deprecation warning when I run ember serve
, (or just ember --version
):
ember --version
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: bbcpe -> ember-number-to-human-size -> ember-cli-babel
ember-cli: 3.3.0
node: 8.11.1
os: linux x64
Hi, I'm attempting to upgrade an Ember app to Ember and ember-cli 3.5, and the following error is now happening:
Uncaught Error: Could not find module
ember
imported fromember-number-to-human-size/utils/make-helper
at http://localhost:7357/assets/vendor.js, line 252
I noticed this with some other libraries as well.
Is Ember 3.5 supported? Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.