Fix lint errors.

This commit is contained in:
Lauri Ojansivu 2017-12-03 04:00:55 +02:00
parent c52233cacf
commit 7c403053e3
11 changed files with 187 additions and 187 deletions

View file

@ -6,7 +6,7 @@ Template.editor.onRendered(() => {
$textarea.escapeableTextComplete([
// Emoji
{
match: /\B:([\-+\w]*)$/,
match: /\B:([-+\w]*)$/,
search(term, callback) {
callback(Emoji.values.map((emoji) => {
return emoji.includes(term) ? emoji : null;

View file

@ -31,7 +31,7 @@ window.Modal = new class {
this._currentModal.set({ header, modalName });
this._onCloseGoTo = onCloseGoTo;
}
};
}();
Blaze.registerHelper('Modal', Modal);

View file

@ -190,7 +190,7 @@ window.Popup = new class {
return title !== translationKey ? title : defaultTitle;
};
}
};
}();
// We close a potential opened popup on any left click on the document, or go
// one step back by pressing escape.