Update read me

This commit is contained in:
Josh Johnson 2017-01-01 16:00:31 +00:00
parent d0b78438bb
commit 82a2a37298
2 changed files with 5 additions and 2 deletions

View file

@ -108,6 +108,11 @@ Or include Choices directly:
flippedState: 'is-flipped', flippedState: 'is-flipped',
loadingState: 'is-loading', loadingState: 'is-loading',
}, },
// Choices uses the great Fuse library for searching. You
// can find more options here: https://github.com/krisk/Fuse#options
fuseOptions: {
include: 'score',
},
callbackOnInit: null, callbackOnInit: null,
callbackOnCreateTemplates: null, callbackOnCreateTemplates: null,
}); });

View file

@ -105,8 +105,6 @@ class Choices {
flippedState: 'is-flipped', flippedState: 'is-flipped',
loadingState: 'is-loading', loadingState: 'is-loading',
}, },
// Choices uses the great Fuse library for searching. You
// can find more options here: https://github.com/krisk/Fuse#options
fuseOptions: { fuseOptions: {
include: 'score', include: 'score',
}, },