I'm trying to leave @ as a string. Here is the code:
hint: {
mentions: ['Pedro', 'Tiago', 'João', 'Maria'],
match: /\B@(\w*)$/, // Problema com @
search: function (keyword, callback) {
callback($.grep(this.mentions, function (item) {...
asked by
12.12.2016 / 23:26