Skip to content

Commit

Permalink
Merge branch 'master' into circle-2
Browse files Browse the repository at this point in the history
  • Loading branch information
nadnoslen committed Nov 17, 2018
2 parents 35a764f + e5db6a2 commit f42a1b1
Show file tree
Hide file tree
Showing 6 changed files with 1,064 additions and 57 deletions.
5 changes: 5 additions & 0 deletions config/release.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* eslint-env node */

module.exports = {
publish: true
};
3 changes: 1 addition & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ Here are some examples of using the helper in your hbs files:
{{percent-format "abc"}} {{!-- "" --}}
{{percent-format 0.123}} {{!-- "12%" --}}
{{percent-format 123.456}} {{!-- "12346%" --}}
{{percent-format 123.45678}} {{!-- "123.457%" --}}
{{percent-format 0.4567 minimumFractionDigits=1}} {{!-- "45.7%" --}}
``` {% endraw %}
Expand All @@ -88,7 +87,7 @@ currencyFormat(123.456, { currency: 'EUR'}); // "€123.46"
import { decimalFormat } from 'ember-helper-locale-number/helpers/decimal-format';
// ... somewhere in your js:
decimalFormat(123456); // "123,456"
decimalFormat(123456, { useGrouping: false }); // "123,456"
decimalFormat(123456, { useGrouping: false }); // "123456"
decimalFormat(123.456789); // "123.457"
// using the percentFormat helper
Expand Down
16 changes: 16 additions & 0 deletions install_ember_addons.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh

#ember install ember-cli-bootstrap3-sass
#ember install ember-cli-deploy
#ember install ember-cli-deploy-build
#ember install ember-cli-deploy-gzip
#ember install ember-cli-deploy-s3
#ember install ember-cli-font-awesome-sass
#ember install ember-cli-font-awesome-sass
#ember install ember-cli-node-assets
ember install ember-cli-release

#ember install ember-route-action-helper

#npm install --save-dev [email protected]
#npm install --save keyevent
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
"url": "https://nadnoslen.github.io/"
}
],
"bugs": {
"url": "https://github.com/cybertoothca/ember-helper-locale-number/issues"
},
"directories": {
"doc": "doc",
"test": "tests"
Expand All @@ -53,6 +56,7 @@
"ember-cli-htmlbars-inline-precompile": "^0.4.3",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-qunit": "^4.0.0",
"ember-cli-release": "^1.0.0-beta.2",
"ember-cli-shims": "^1.1.0",
"ember-cli-sri": "^2.1.0",
"ember-cli-uglify": "^1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion testem.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*jshint node:true*/
/* eslint-env node */

/**
* By default, your tests will run in Chrome.
Expand Down
Loading

0 comments on commit f42a1b1

Please sign in to comment.