From 35b645ba1a42b65b277eef87cf4c020b45a4d67e Mon Sep 17 00:00:00 2001 From: gschwab Date: Mon, 23 Jun 2014 13:23:09 +0200 Subject: [PATCH] deleted print O.o --- .../frontend/js/modules/org/arangodb/general-graph.js | 6 +----- js/common/modules/org/arangodb/general-graph.js | 3 --- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js b/js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js index c68324798d..c0d0c78008 100644 --- a/js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js +++ b/js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js @@ -1665,7 +1665,6 @@ var _create = function (graphName, edgeDefinitions, orphanCollections) { 'edgeDefinitions' : edgeDefinitions, '_key' : graphName }); - require("internal").print("precreate"); return new Graph(graphName, edgeDefinitions, collections[0], collections[1], orphanCollections); }; @@ -1791,7 +1790,6 @@ var bindEdgeCollections = function(self, edgeCollections) { var bindVertexCollections = function(self, vertexCollections) { _.each(vertexCollections, function(key) { - require("internal").print("each resolved"); var obj = db._collection(key); var result; var wrap = wrapCollection(obj); @@ -1885,7 +1883,6 @@ var updateBindCollections = function(graph) { bindVertexCollections(graph, edgeDef.to); } ); - require("internal").print("preVertex"); bindVertexCollections(graph, graph.__orphanCollections); }; @@ -2116,7 +2113,6 @@ var Graph = function(graphName, edgeDefinitions, vertexCollections, edgeCollecti createHiddenProperty(this, "__idsToRemove", []); createHiddenProperty(this, "__collectionsToLock", []); createHiddenProperty(this, "__orphanCollections", orphanCollections); - require("internal").print("preBind"); updateBindCollections(self); }; @@ -3694,7 +3690,7 @@ Graph.prototype._editEdgeDefinitions = function(edgeDefinition) { //evaluate collections to add to orphanage var possibleOrphans = []; var currentEdgeDefinition; - this.__edgeDefinitions.forEach( + this.__edgeDefinitions.forEach( function(ed) { if (edgeDefinition.collection === ed.collection) { currentEdgeDefinition = ed; diff --git a/js/common/modules/org/arangodb/general-graph.js b/js/common/modules/org/arangodb/general-graph.js index 921aca9a29..4bdc04f199 100644 --- a/js/common/modules/org/arangodb/general-graph.js +++ b/js/common/modules/org/arangodb/general-graph.js @@ -1664,7 +1664,6 @@ var _create = function (graphName, edgeDefinitions, orphanCollections) { 'edgeDefinitions' : edgeDefinitions, '_key' : graphName }); - require("internal").print("precreate"); return new Graph(graphName, edgeDefinitions, collections[0], collections[1], orphanCollections); }; @@ -1883,7 +1882,6 @@ var updateBindCollections = function(graph) { bindVertexCollections(graph, edgeDef.to); } ); - require("internal").print("preVertex"); bindVertexCollections(graph, graph.__orphanCollections); }; @@ -2114,7 +2112,6 @@ var Graph = function(graphName, edgeDefinitions, vertexCollections, edgeCollecti createHiddenProperty(this, "__idsToRemove", []); createHiddenProperty(this, "__collectionsToLock", []); createHiddenProperty(this, "__orphanCollections", orphanCollections); - require("internal").print("preBind"); updateBindCollections(self); };