Commit b659d873 by Antonio Ramirez

fix formatting

parent b98d116a
...@@ -70,15 +70,15 @@ yii.gii = (function ($) { ...@@ -70,15 +70,15 @@ yii.gii = (function ($) {
}; };
return { return {
autocomplete: function (counter, data) { autocomplete: function (counter, data) {
var datum = new Bloodhound({ var datum = new Bloodhound({
datumTokenizer: function(d){return Bloodhound.tokenizers.whitespace(d.word);}, datumTokenizer: function(d){return Bloodhound.tokenizers.whitespace(d.word);},
queryTokenizer: Bloodhound.tokenizers.whitespace, queryTokenizer: Bloodhound.tokenizers.whitespace,
local: data local: data
}); });
datum.initialize(); datum.initialize();
jQuery('.typeahead-'+counter).typeahead(null,{displayKey: 'word', source: datum.ttAdapter()}); jQuery('.typeahead-'+counter).typeahead(null,{displayKey: 'word', source: datum.ttAdapter()});
}, },
init: function () { init: function () {
initHintBlocks(); initHintBlocks();
initStickyInputs(); initStickyInputs();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment