allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [16/20] allura git commit: [#8035] ESLINT FIX: no-unused-var
Date Fri, 22 Jan 2016 00:59:49 GMT
[#8035] ESLINT FIX: no-unused-var


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

Branch: refs/heads/hs/8035
Commit: b26d6db520fda379a2f5180af93df3fbe86f9bda
Parents: 04962e8
Author: Heith Seewald <heiths@gmail.com>
Authored: Thu Jan 21 18:43:29 2016 -0500
Committer: Heith Seewald <heiths@gmail.com>
Committed: Thu Jan 21 19:59:14 2016 -0500

----------------------------------------------------------------------
 Allura/allura/public/nf/js/context-menu.es6.js | 2 ++
 Allura/allura/public/nf/js/navbar.es6.js       | 7 +++++--
 Allura/allura/public/nf/js/tooltip.es6.js      | 2 ++
 3 files changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/b26d6db5/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 ec5b68d..1762ffb 100644
--- a/Allura/allura/public/nf/js/context-menu.es6.js
+++ b/Allura/allura/public/nf/js/context-menu.es6.js
@@ -78,3 +78,5 @@ class ContextMenu extends React.Component {
         );
     }
 }
+
+module.exports(ContextMenu);

http://git-wip-us.apache.org/repos/asf/allura/blob/b26d6db5/Allura/allura/public/nf/js/navbar.es6.js
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/js/navbar.es6.js b/Allura/allura/public/nf/js/navbar.es6.js
index 585d004..2d0201e 100644
--- a/Allura/allura/public/nf/js/navbar.es6.js
+++ b/Allura/allura/public/nf/js/navbar.es6.js
@@ -17,6 +17,7 @@
        under the License.
 */
 /* eslint camelcase: 0 */
+/* exported Main */
 'use strict';
 
 /**
@@ -109,7 +110,7 @@ var NavBarItem = React.createClass({
         );
     },
 
-    handleOptionClick: function(event) {
+    handleOptionClick: function() {
         this.props.onOptionClick(this.props.mount_point);
     }
 });
@@ -244,7 +245,7 @@ var NormalNavBar = React.createClass({
         ).isRequired
     },
 
-    buildMenu: function(item, i) {
+    buildMenu: function(item) {
         let classes = window.location.pathname.startsWith(item.url) ? 'active-nav-link' :
'';
 
         var subMenu;
@@ -588,3 +589,5 @@ var Main = React.createClass({
         );
     }
 });
+
+module.exports(Main);

http://git-wip-us.apache.org/repos/asf/allura/blob/b26d6db5/Allura/allura/public/nf/js/tooltip.es6.js
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/js/tooltip.es6.js b/Allura/allura/public/nf/js/tooltip.es6.js
index 95f7188..f24fc16 100644
--- a/Allura/allura/public/nf/js/tooltip.es6.js
+++ b/Allura/allura/public/nf/js/tooltip.es6.js
@@ -75,3 +75,5 @@ class ToolTip extends React.Component {
     }
 }
 
+module.exports(ToolTip);
+


Mime
View raw message