You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by he...@apache.org on 2016/01/26 20:11:44 UTC

[13/24] allura git commit: [#8035] ESLINT FIX: block-spacing, no-inline-comments

[#8035] ESLINT FIX: block-spacing, no-inline-comments


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/80f46bd2
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/80f46bd2
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/80f46bd2

Branch: refs/heads/hs/8035
Commit: 80f46bd262c9891568cd3b8ead3a749fb417fbe9
Parents: bf0029d
Author: Heith Seewald <he...@gmail.com>
Authored: Thu Jan 21 19:25:59 2016 -0500
Committer: Heith Seewald <he...@gmail.com>
Committed: Tue Jan 26 14:11:04 2016 -0500

----------------------------------------------------------------------
 .eslintrc                                      | 5 +++--
 Allura/allura/public/nf/js/context-menu.es6.js | 1 -
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/80f46bd2/.eslintrc
----------------------------------------------------------------------
diff --git a/.eslintrc b/.eslintrc
index 835cf29..e58bfe1 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -9,8 +9,9 @@
         "FunctionDeclaration": true,
         "MethodDefinition": false,
         "ClassDeclaration": false
-    }
-  }]
+      }
+    }],
+    "no-inline-comments": 0
   },
   "globals": {
     "ReactDOM": true,

http://git-wip-us.apache.org/repos/asf/allura/blob/80f46bd2/Allura/allura/public/nf/js/context-menu.es6.js
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/js/context-menu.es6.js b/Allura/allura/public/nf/js/context-menu.es6.js
index 1762ffb..4c2958d 100644
--- a/Allura/allura/public/nf/js/context-menu.es6.js
+++ b/Allura/allura/public/nf/js/context-menu.es6.js
@@ -41,7 +41,6 @@ class ContextMenu extends React.Component {
             /* the :not filter should've worked as a 2nd param to .on() instead of this,
              but clicks in the page gutter were being delayed for some reason */
             if ($(evt.target).is(':not(.contextMenu)')) {
-
                 /* if clicking directly onto another gear, set it directly.
                  this is necessary since sometimes our jquery events seem to interfere with the react event
                  that is supposed to handle this kind of thing */