ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject [47/51] [abbrv] ignite git commit: IGNITE-3262 Fixed eslint errors.
Date Fri, 01 Jul 2016 07:18:34 GMT
IGNITE-3262 Fixed eslint errors.


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

Branch: refs/heads/ignite-3262
Commit: c6fdd009b9d0e3572396083c9e036be2e4a2f757
Parents: 122f1ca
Author: Maxim Afanasiev <mafkus@gmail.com>
Authored: Thu Jun 30 17:57:42 2016 +0700
Committer: Maxim Afanasiev <mafkus@gmail.com>
Committed: Thu Jun 30 17:57:42 2016 +0700

----------------------------------------------------------------------
 .../src/main/js/gulpfile.babel.js/tasks/test.js | 30 ++++++++++----------
 .../src/main/js/serve/services/space.js         |  4 +--
 2 files changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/c6fdd009/modules/web-console/src/main/js/gulpfile.babel.js/tasks/test.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/gulpfile.babel.js/tasks/test.js b/modules/web-console/src/main/js/gulpfile.babel.js/tasks/test.js
index c14528a..7d8afe6 100644
--- a/modules/web-console/src/main/js/gulpfile.babel.js/tasks/test.js
+++ b/modules/web-console/src/main/js/gulpfile.babel.js/tasks/test.js
@@ -18,7 +18,7 @@
 import gulp from 'gulp';
 import {Server} from 'karma';
 
-import {srcDir, destDir, rootDir} from '../paths';
+import {rootDir} from '../paths';
 
 gulp.task('test', (cb) => {
     new Server({
@@ -30,14 +30,14 @@ gulp.task('test', (cb) => {
 
         // List of files / patterns to load in the browser.
         files: [
-          'test/**/*.test.js'
+            'test/**/*.test.js'
         ],
 
         plugins: [
-          require('karma-babel-preprocessor'),
-          require('karma-phantomjs-launcher'),
-          require('karma-webpack'),
-          require('karma-jasmine')
+            require('karma-babel-preprocessor'),
+            require('karma-phantomjs-launcher'),
+            require('karma-webpack'),
+            require('karma-jasmine')
         ],
 
         // Preprocess matching files before serving them to the browser
@@ -47,15 +47,15 @@ gulp.task('test', (cb) => {
         },
 
         webpack: {
-          devtool: 'inline-source-map',
-          module: {
-            loaders: [
-              {test: /\.js/, loaders: ['babel'], exclude: /node_modules/}
-            ]
-          },
-          resolve: {
-            extensions: ["", ".js"]
-          }
+            devtool: 'inline-source-map',
+            module: {
+                loaders: [
+                    {test: /\.js/, loaders: ['babel'], exclude: /node_modules/}
+                ]
+            },
+            resolve: {
+                extensions: ['', '.js']
+            }
         },
 
         // Test results reporter to use

http://git-wip-us.apache.org/repos/asf/ignite/blob/c6fdd009/modules/web-console/src/main/js/serve/services/space.js
----------------------------------------------------------------------
diff --git a/modules/web-console/src/main/js/serve/services/space.js b/modules/web-console/src/main/js/serve/services/space.js
index d6a069f..eb37858 100644
--- a/modules/web-console/src/main/js/serve/services/space.js
+++ b/modules/web-console/src/main/js/serve/services/space.js
@@ -21,10 +21,10 @@
 
 module.exports = {
     implements: 'services/space',
-    inject: ['mongo']
+    inject: ['mongo', 'errors']
 };
 
-module.exports.factory = (mongo) => {
+module.exports.factory = (mongo, errors) => {
 
     class SpaceService {
         /**


Mime
View raw message