1
0
Fork 0

Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel

This commit is contained in:
Jan Steemann 2013-11-18 11:42:08 +01:00
commit 42257ba2f6
1 changed files with 7 additions and 6 deletions

View File

@ -602,7 +602,7 @@ Graph.prototype._saveVertex = function (id, shallow, waitForSync) {
////////////////////////////////////////////////////////////////////////////////
Graph.prototype._replaceVertex = function (vertex_id, data) {
var result = this._vertices.replace(vertex_id, data);
this._vertices.replace(vertex_id, data);
};
////////////////////////////////////////////////////////////////////////////////
@ -610,7 +610,7 @@ Graph.prototype._replaceVertex = function (vertex_id, data) {
////////////////////////////////////////////////////////////////////////////////
Graph.prototype._replaceEdge = function (edge_id, data) {
var result = this._edges.replace(edge_id, data);
this._edges.replace(edge_id, data);
};
////////////////////////////////////////////////////////////////////////////////
@ -666,6 +666,7 @@ Graph.prototype.getVertices = function () {
wrapper = function(object) {
return graph.constructVertex(object);
};
return new Iterator(wrapper, graph.constructVertex, "[edge iterator]");
};