allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [12/24] allura git commit: [#8035] ESLINT FIX: one-var
Date Tue, 26 Jan 2016 19:11:43 GMT
[#8035] ESLINT FIX: one-var


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

Branch: refs/heads/hs/8035
Commit: d0284961588d969d1f9eb11a7beafa703d110453
Parents: 79c4a47
Author: Heith Seewald <heiths@gmail.com>
Authored: Thu Jan 21 18:12:23 2016 -0500
Committer: Heith Seewald <heiths@gmail.com>
Committed: Tue Jan 26 14:11:03 2016 -0500

----------------------------------------------------------------------
 Allura/allura/public/nf/js/navbar.es6.js | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/d0284961/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 ee356a4..4570872 100644
--- a/Allura/allura/public/nf/js/navbar.es6.js
+++ b/Allura/allura/public/nf/js/navbar.es6.js
@@ -27,7 +27,9 @@
  * @returns {string}
  */
 function _getProjectUrl(rest = true) {
-    var nbhd, proj, nbhd_proj;
+    var nbhd;
+    var proj;
+    var nbhd_proj;
     var ident_classes = document.getElementById('page-body').className.split(' ');
     for (var cls of ident_classes) {
         if (cls.indexOf('project-') === 0) {
@@ -287,7 +289,8 @@ var AdminNav = React.createClass({
     buildMenu: function (items, isSubMenu=false) {
         var _this = this;
         var [tools, anchoredTools, endTools] = [[], [], []];
-        var subMenu, childOptionsOpen;
+        var subMenu;
+        var childOptionsOpen;
 
         for (let item of items) {
             if (item.children) {
@@ -297,8 +300,8 @@ var AdminNav = React.createClass({
             }
 
             var _handle = isSubMenu ? "draggable-handle-sub" : 'draggable-handle';
-
-            var toolList, isAnchored;
+            var toolList;
+            var isAnchored;
             if (item.mount_point === 'admin') {
                 // force admin to end, just like 'Project.sitemap()' does
                 toolList = endTools;


Mime
View raw message