ソースを参照

Fix prettier.

Lauri Ojansivu 5 年 前
コミット
5bece0dd1e
3 ファイル変更19 行追加7 行削除
  1. 8 3
      client/lib/textComplete.js
  2. 7 3
      config/accounts.js
  3. 4 1
      sandstorm.js

+ 8 - 3
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',
+  },
+);

+ 7 - 3
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.

+ 4 - 1
sandstorm.js

@@ -153,7 +153,10 @@ if (isSandstorm && Meteor.isServer) {
 
           return session.activity(event);
         })
-        .then(() => done(), e => done(e));
+        .then(
+          () => done(),
+          e => done(e),
+        );
     })();
   }