Merge pull request #550 from kalvn/master
Renames Awesomeplete dollar variable to avoid conflicts with jQuery
This commit is contained in:
commit
5a63c34f3a
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
$ = Awesomplete.$;
|
||||
awesomplete = new Awesomplete($('input[data-multiple]'), {
|
||||
var awp = Awesomplete.$;
|
||||
awesomplete = new Awesomplete(awp('input[data-multiple]'), {
|
||||
filter: function(text, input) {
|
||||
return Awesomplete.FILTER_CONTAINS(text, input.match(/[^ ]*$/)[0]);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue