Comments (2)
Can you clarify, and demonstrate where are ES6 imports ? The only dependency is jQuery
from autonumeric-rails.
What @tirdadc is referring to is the latest version in the next
branch where we made major changes.
For starters, we do not depend on anything anymore (yay!) 🎉
Also, we now allow to use the AutoNumeric class static functions to do plenty of things like format a string without having to first initialize an element.
For instance if you want to format a number with the given options
, you can call
AutoNumeric.format(12345.21, { options });
This upcoming v4 will break the previous API, but that was the price to be able to add and refactor a lot of new functions.
Cheers
from autonumeric-rails.
Related Issues (12)
- simple_form_for HOT 2
- Way to set number formatting defaults HOT 2
- Missing source-mapping when using autonumeric2 HOT 3
- Sprockets::FileNotFound: couldn't find file 'autonumeric' HOT 2
- Only loads on page reload
- turbolinks support HOT 3
- autoNumeric('destroy') not working HOT 8
- Using autoNumeric('set', value) doesn't update hidden input HOT 3
- Using rails autonumeric plugin with dynamically generated fields. HOT 1
- Gem::Package::PathError: installing into parent path is not allowed HOT 5
- "ERROR: directory is already being watched!" HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autonumeric-rails.