Skip to content

Unexpected token '<' #457

@ahmerkhan357

Description

@ahmerkhan357

Uncaught SyntaxError: Unexpected token '<' (at jquery.textcomplete.js:1:1)

When the emojionearea.min.js file is loading this function breaking

editor.textcomplete([
{
id: css_class,
match: /\B(:[-+\w]*)$/,
search: function (term, callback) {
callback($.map(map, function (emoji) {
return emoji.indexOf(term) === 0 ? emoji : null;
}));
},
template: function (value) {
return shortnameTo(value, self.emojiTemplate) + " " + value.replace(/:/g, '');
},
replace: function (value) {
return shortnameTo(value, self.emojiTemplate);
},
cache: true,
index: 1
}
], textcompleteOptions);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions