You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2016/09/08 04:46:30 UTC

[13/50] [abbrv] ignite git commit: IGNITE-3706 Minor fix.

IGNITE-3706 Minor fix.


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

Branch: refs/heads/ignite-3629
Commit: d2da35b9bbcc2473878b40e127663bf1591fe795
Parents: 671c1d9
Author: Andrey Novikov <an...@apache.org>
Authored: Thu Aug 25 13:34:07 2016 +0700
Committer: Andrey Novikov <an...@apache.org>
Committed: Thu Aug 25 13:34:07 2016 +0700

----------------------------------------------------------------------
 .../frontend/app/modules/sql/sql.controller.js            | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d2da35b9/modules/web-console/frontend/app/modules/sql/sql.controller.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/modules/sql/sql.controller.js b/modules/web-console/frontend/app/modules/sql/sql.controller.js
index 3162224..d3449ed 100644
--- a/modules/web-console/frontend/app/modules/sql/sql.controller.js
+++ b/modules/web-console/frontend/app/modules/sql/sql.controller.js
@@ -22,9 +22,6 @@ const TIME_LINE = {value: -1, type: 'java.sql.Date', label: 'TIME_LINE'};
 const ROW_IDX = {value: -2, type: 'java.lang.Integer', label: 'ROW_IDX'};
 
 /** Prefix for node local key for SCAN near queries. */
-const SCAN_NEAR_CACHE = 'VISOR_SCAN_NEAR_CACHE';
-
-/** Prefix for node local key for SCAN near queries. */
 const SCAN_CACHE_WITH_FILTER = 'VISOR_SCAN_CACHE_WITH_FILTER';
 
 /** Prefix for node local key for SCAN near queries. */
@@ -45,10 +42,7 @@ const _fullColName = (col) => {
 };
 
 class Paragraph {
-    constructor($timeout, Notebook, paragraph) {
-        this.$timeout = $timeout;
-        this.Notebook = Notebook;
-
+    constructor(paragraph) {
         _.assign(this, paragraph);
     }
 
@@ -797,7 +791,7 @@ export default ['$rootScope', '$scope', '$http', '$q', '$timeout', '$interval',
                 $scope.notebook.paragraphs = _.map($scope.notebook.paragraphs, (paragraph) => {
                     paragraph.id = 'paragraph-' + paragraphId++;
 
-                    const par = new Paragraph($timeout, Notebook, paragraph);
+                    const par = new Paragraph(paragraph);
 
                     Object.defineProperty(par, 'gridOptions', {value: {
                         enableGridMenu: false,