Ember addon which adds fuzzy shim exposing fuzzy as module and also provides fuzzy-highlight helper
import fuzzy from 'fuzzy';
{{fuzzy-highlight}}
helper used to stylize the characters matched from the search term
Basic Usage:
// name = 'a<b>c';
{{fuzzy-highlight name}}
// => 'a<span class="highlight">b</span>c'
Customized Usage:
// name = 'a[b]c<d>e';
{{fuzzy-highlight name pre="[" post="]" cssClass="xyz"}}
// => 'a<span class="xyz">b</span>c<d>e'
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://ember-cli.com/.