ember-gather
A handy pair of macros for computing flattened arrays.
Usage
Use gather
when you just need to flatten the top-level value of each property into a list:
;; ;
Use deepGather
when you need to flatten all items within all values of each property into a list:
;; const planets = 'Mercury' 'Venus' 'Earth' 'Mars' 'Jupiter' 'Saturn' 'Neptune' 'Uranus'; const dwarfPlanets = 'Pluto' 'Ceres' 'Eris' 'Haumes' 'MakeMake'; ;
Developing
git clone <repository-url>
this repositorycd ember-gather
npm install
bower install
Running
ember serve
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://ember-cli.com/.