ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [14/20] ignite git commit: IGNITE-2287 Fixed eslint warnings.
Date Wed, 24 Feb 2016 02:50:23 GMT
IGNITE-2287 Fixed eslint warnings.


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

Branch: refs/heads/ignite-843-rc3
Commit: b0a6ed6c0bb8daa0fa2d5f6ee428a1c570d91a0c
Parents: 775a6af
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Sat Feb 20 11:27:39 2016 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Sat Feb 20 11:27:39 2016 +0700

----------------------------------------------------------------------
 modules/control-center-web/src/main/js/.eslintrc                  | 1 +
 .../modules/states/configuration/summary/summary.controller.js    | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/b0a6ed6c/modules/control-center-web/src/main/js/.eslintrc
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/.eslintrc b/modules/control-center-web/src/main/js/.eslintrc
index 9174e14..000de6c 100644
--- a/modules/control-center-web/src/main/js/.eslintrc
+++ b/modules/control-center-web/src/main/js/.eslintrc
@@ -22,6 +22,7 @@ globals:
     _: true
     window: true
     global: true
+    $generatorCommon: true
     $generatorProperties: true
     $generatorXml: true
     $generatorJava: true

http://git-wip-us.apache.org/repos/asf/ignite/blob/b0a6ed6c/modules/control-center-web/src/main/js/app/modules/states/configuration/summary/summary.controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app/modules/states/configuration/summary/summary.controller.js
b/modules/control-center-web/src/main/js/app/modules/states/configuration/summary/summary.controller.js
index 7cd564a..5b8aa31 100644
--- a/modules/control-center-web/src/main/js/app/modules/states/configuration/summary/summary.controller.js
+++ b/modules/control-center-web/src/main/js/app/modules/states/configuration/summary/summary.controller.js
@@ -258,9 +258,10 @@ export default [
             zip.file(srcPath + 'config/ServerConfigurationFactory.java', $generatorJava.cluster(cluster,
'config', 'ServerConfigurationFactory', null));
             zip.file(srcPath + 'config/ClientConfigurationFactory.java', $generatorJava.cluster(cluster,
'config', 'ClientConfigurationFactory', clientNearCfg));
 
-            if ($generatorCommon.dataForExampleConfigured(cluster))
+            if ($generatorCommon.dataForExampleConfigured(cluster)) {
                 zip.file(srcPath + 'example/ExampleStartup.java', $generatorJava.nodeStartup(cluster,
'startup', 'ExampleStartup',
                     'ServerConfigurationFactory.createConfiguration()', 'config.ServerConfigurationFactory'));
+            }
 
             zip.file(srcPath + 'startup/ServerNodeSpringStartup.java', $generatorJava.nodeStartup(cluster,
'startup', 'ServerNodeSpringStartup', '"' + serverXml + '"'));
             zip.file(srcPath + 'startup/ClientNodeSpringStartup.java', $generatorJava.nodeStartup(cluster,
'startup', 'ClientNodeSpringStartup', '"' + clientXml + '"'));


Mime
View raw message