a2614b3ab51e93efdabab964fc38df9c899ee168
2 $.getJSON('/meta/rate', {url
: $('#ponyheadURL').val()}, function(data
) {
7 var tournaments
= new Bloodhound({
8 datumTokenizer
: Bloodhound
.tokenizers
.obj
.nonword('name'),
9 queryTokenizer
: Bloodhound
.tokenizers
.nonword
,
10 prefetch
: '/meta/tournaments'
13 tournaments
.initialize();
15 $(document
).ready(function() {
16 $('.typeahead-tournaments').typeahead(null, {
19 source
: tournaments
.ttAdapter()