0.1.0 • Published 9 years ago
ember-ordinal-indicators v0.1.0
ember-ordinal-indicators
Helper for obtaining the ordinal indicator of a number.
It one of the following suffixes: st
, nd
, rd
, or th
.
Installation
npm install ember-ordinal-indicators --save-dev
with ember-cli:
ember install ember-ordinal-indicators
Usage
{{ordinal-for <number>}}
Examples:
{{ordinal-for 1}} {{! => st}}
{{ordinal-for 2}} {{! => nd}}
{{ordinal-for 3}} {{! => rd}}
Development
git clone https://github.com/rsocci/ember-ordinal-indicators.git
npm install
Running Tests
ember test
ember test --server
For more information on using ember-cli, visit http://ember-cli.com/.
0.1.0
9 years ago