Skip to content

Commit

Permalink
Cleanup bloodhound constructor example
Browse files Browse the repository at this point in the history
  • Loading branch information
aronwoost committed Apr 23, 2014
1 parent 0caa797 commit d414f3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/bloodhound.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ var engine = new Bloodhound({
name: 'animals',
local: [{ val: 'dog' }, { val: 'pig' }, { val: 'moose' }],
remote: 'http://example.com/animals?q=%QUERY',
datumTokenizer: function(d) {
return Bloodhound.tokenizers.whitespace(d.val);
datumTokenizer: function(d) {
return Bloodhound.tokenizers.whitespace(d.val);
},
queryTokenizer: Bloodhound.tokenizers.whitespace
});
Expand Down

0 comments on commit d414f3d

Please sign in to comment.