summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/lib/textComplete.js11
-rw-r--r--config/accounts.js10
-rw-r--r--sandstorm.js5
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),
+ );
})();
}