Merge pull request #550 from kalvn/master

Renames Awesomeplete dollar variable to avoid conflicts with jQuery
This commit is contained in:
Arthur 2016-05-03 19:23:15 +02:00
commit 5a63c34f3a
1 changed files with 2 additions and 2 deletions

View File

@ -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]);
},