1
0
Fork 0

deleted print O.o

This commit is contained in:
gschwab 2014-06-23 13:23:09 +02:00
parent 19191b5a1b
commit 35b645ba1a
2 changed files with 1 additions and 8 deletions

View File

@ -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;

View File

@ -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);
};