1.0.0 • Published 9 years ago
ember-fuzzy-shim v1.0.0
Ember-fuzzy-shim
Ember addon which adds fuzzy shim exposing fuzzy as module and also provides fuzzy-highlight helper
Usage
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'Installation
git clonethis repositorynpm installbower install
Running
ember server- Visit your app at http://localhost:4200.
Running Tests
npm test(Runsember try:testallto test your addon against multiple Ember versions)ember testember test --server
Building
ember build
For more information on using ember-cli, visit http://ember-cli.com/.
1.0.0
9 years ago