diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-01-10 04:09:40 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-01-10 04:09:40 +0200 |
commit | 5bece0dd1e8bb97d8ef07908179fb5735d097115 (patch) | |
tree | c61d262fbd3893ed0cdf64d8a0e7ba3269449fb0 | |
parent | 83e4d214cd7b339cffdc10529f9e072a0aa6ba53 (diff) | |
download | wekan-5bece0dd1e8bb97d8ef07908179fb5735d097115.tar.gz wekan-5bece0dd1e8bb97d8ef07908179fb5735d097115.tar.bz2 wekan-5bece0dd1e8bb97d8ef07908179fb5735d097115.zip |
Fix prettier.
-rw-r--r-- | client/lib/textComplete.js | 11 | ||||
-rw-r--r-- | config/accounts.js | 10 | ||||
-rw-r--r-- | sandstorm.js | 5 |
3 files changed, 19 insertions, 7 deletions
diff --git a/client/lib/textComplete.js b/client/lib/textComplete.js index 8b6dc1f7..e97d3853 100644 --- a/client/lib/textComplete.js +++ b/client/lib/textComplete.js @@ -48,6 +48,11 @@ $.fn.escapeableTextComplete = function(strategies, options, ...otherArgs) { return this; }; -EscapeActions.register('textcomplete', () => {}, () => dropdownMenuIsOpened, { - noClickEscapeOn: '.textcomplete-dropdown', -}); +EscapeActions.register( + 'textcomplete', + () => {}, + () => dropdownMenuIsOpened, + { + noClickEscapeOn: '.textcomplete-dropdown', + }, +); diff --git a/config/accounts.js b/config/accounts.js index f88f2d83..b19c12b9 100644 --- a/config/accounts.js +++ b/config/accounts.js @@ -38,9 +38,13 @@ AccountsTemplates.configure({ }, }); -['signIn', 'signUp', 'resetPwd', 'forgotPwd', 'enrollAccount'].forEach( - routeName => AccountsTemplates.configureRoute(routeName), -); +[ + 'signIn', + 'signUp', + 'resetPwd', + 'forgotPwd', + 'enrollAccount', +].forEach(routeName => AccountsTemplates.configureRoute(routeName)); // We display the form to change the password in a popup window that already // have a title, so we unset the title automatically displayed by useraccounts. diff --git a/sandstorm.js b/sandstorm.js index dbf984d8..3cd84fc3 100644 --- a/sandstorm.js +++ b/sandstorm.js @@ -153,7 +153,10 @@ if (isSandstorm && Meteor.isServer) { return session.activity(event); }) - .then(() => done(), e => done(e)); + .then( + () => done(), + e => done(e), + ); })(); } |