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([ $textarea.escapeableTextComplete([
// Emoji // Emoji
{ {
match: /\B:([\-+\w]*)$/, match: /\B:([-+\w]*)$/,
search(term, callback) { search(term, callback) {
callback(Emoji.values.map((emoji) => { callback(Emoji.values.map((emoji) => {
return emoji.includes(term) ? emoji : null; return emoji.includes(term) ? emoji : null;

View file

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

View file

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