ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [14/45] incubator-ignite git commit: # ignite-843 Minor fix.
Date Wed, 15 Jul 2015 19:17:02 GMT
# ignite-843 Minor fix.


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

Branch: refs/heads/ignite-1121
Commit: 31ff6149285e44dd55a0a61f4d02022ecb0d7df5
Parents: a7efd5d
Author: Andrey <anovikov@gridgain.com>
Authored: Tue Jul 14 12:02:22 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Tue Jul 14 12:02:22 2015 +0700

----------------------------------------------------------------------
 modules/web-control-center/nodejs/app.js        | 8 --------
 modules/web-control-center/nodejs/routes/sql.js | 2 --
 2 files changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/31ff6149/modules/web-control-center/nodejs/app.js
----------------------------------------------------------------------
diff --git a/modules/web-control-center/nodejs/app.js b/modules/web-control-center/nodejs/app.js
index 9fb4398..c9b79ab 100644
--- a/modules/web-control-center/nodejs/app.js
+++ b/modules/web-control-center/nodejs/app.js
@@ -35,8 +35,6 @@ var adminRouter = require('./routes/admin');
 var profileRouter = require('./routes/profile');
 var sqlRouter = require('./routes/sql');
 
-var uiUtils = require('./helpers/ui-utils');
-
 var passport = require('passport');
 
 var db = require('./db');
@@ -96,12 +94,6 @@ var adminOnly = function(req, res, next) {
 
 app.all('/configuration/*', mustAuthenticated);
 
-for (var p in uiUtils) {
-    if (uiUtils.hasOwnProperty(p)) {
-        app.locals[p] = uiUtils[p];
-    }
-}
-
 app.all('*', function(req, res, next) {
     var becomeUsed = req.session.viewedUser && req.user.admin;
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/31ff6149/modules/web-control-center/nodejs/routes/sql.js
----------------------------------------------------------------------
diff --git a/modules/web-control-center/nodejs/routes/sql.js b/modules/web-control-center/nodejs/routes/sql.js
index ea3465c..ce4565d 100644
--- a/modules/web-control-center/nodejs/routes/sql.js
+++ b/modules/web-control-center/nodejs/routes/sql.js
@@ -17,8 +17,6 @@
 
 var router = require('express').Router();
 var db = require('../db');
-var uiUtils = require('../helpers/ui-utils');
-
 router.get('/', function(req, res) {
     res.render('sql/sql');
 });


Mime
View raw message