allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [35/50] allura git commit: [#8035] ESLINT FIX: space-before-function-paren
Date Wed, 27 Jan 2016 20:22:49 GMT
[#8035] ESLINT FIX: space-before-function-paren


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

Branch: refs/heads/hs/8035
Commit: 5e861dec104787a1bce3c5e4efe8dbda615fa883
Parents: 0ce56fc
Author: Heith Seewald <heiths@gmail.com>
Authored: Thu Jan 21 18:21:09 2016 -0500
Committer: Heith Seewald <heiths@gmail.com>
Committed: Wed Jan 27 15:21:29 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/allura/blob/5e861dec/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 710387d..58d213d 100644
--- a/Allura/allura/public/nf/js/context-menu.es6.js
+++ b/Allura/allura/public/nf/js/context-menu.es6.js
@@ -38,7 +38,7 @@ class ContextMenu extends React.Component {
     componentWillMount() {
         let _this = this;
         var mount_point;
-        $('body').on('click.contextMenu', function (evt) {
+        $('body').on('click.contextMenu', function(evt) {
             /* 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)')) {
@@ -67,7 +67,7 @@ class ContextMenu extends React.Component {
             <div className="contextMenu">
                 <ToolTip targetSelector='#top_nav_admin .contextMenu a'/>
                 <ul>{
-                    this.props.items.map(function (o, i) {
+                    this.props.items.map(function(o, i) {
                         return (<li key={i}>
                             <a href={o.href}
                                className={_this.props.classes.concat([o.className]).join('
')}

http://git-wip-us.apache.org/repos/asf/allura/blob/5e861dec/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 0ea3cb5..1055d43 100644
--- a/Allura/allura/public/nf/js/navbar.es6.js
+++ b/Allura/allura/public/nf/js/navbar.es6.js
@@ -209,7 +209,7 @@ var ToggleAddNewTool = React.createClass({
             visible: !this.state.visible
         });
     },
-    render: function () {
+    render: function() {
         return (
             <div>
                 <a onClick={ this.handleToggle } className="add-tool-toggle">
@@ -286,7 +286,7 @@ var AdminNav = React.createClass({
         onOptionClick: React.PropTypes.func.isRequired
     },
 
-    buildMenu: function (items, isSubMenu=false) {
+    buildMenu: function(items, isSubMenu=false) {
         var _this = this;
         var [tools, anchoredTools, endTools] = [[], [], []];
         var subMenu;
@@ -358,14 +358,14 @@ var AdminNav = React.createClass({
         );
     },
 
-    render: function () {
+    render: function() {
         var tools = this.buildMenu(this.props.tools);
         return <div>{tools}</div>;
     }
 });
 
 var NavBarItemWithSubMenu = React.createClass({
-    render: function () {
+    render: function() {
         return (
             <div className={"tb-item-container" + (this.props.childOptionsOpen ? " child-options-open"
: "")}>
                 { this.props.tool }
@@ -385,7 +385,7 @@ var NavBarItemWithSubMenu = React.createClass({
  * @constructor
  */
 var AdminItemGroup = React.createClass({
-    render: function () {
+    render: function() {
         return (
             <div className="tb-item-grouper">
                 {this.props.children}
@@ -459,7 +459,7 @@ var Main = React.createClass({
         });
     },
 
-    handleShowOptionMenu: function (mount_point) {
+    handleShowOptionMenu: function(mount_point) {
         this.setState({
             currentOptionMenu: {
                 tool: mount_point
@@ -504,7 +504,7 @@ var Main = React.createClass({
             type: 'POST',
             url: url,
             data: params,
-            success: function () {
+            success: function() {
                 $('#messages').notify('Tool order updated',
                     {
                         status: 'confirm',


Mime
View raw message