1
0
Fork 0

Merge branch 'master' of github.com:triAGENS/AvocadoDB

This commit is contained in:
Lucas Dohmen 2012-04-18 13:19:41 +02:00
commit 6b69721672
1 changed files with 3 additions and 0 deletions

View File

@ -190,6 +190,8 @@ Edge.prototype.getPropertyKeys = function () {
Edge.prototype.setProperty = function (name, value) {
var shallow = shallowCopy(this._properties);
shallow['$id'] = this._properties.$id;
shallow['$label'] = this._properties.$label;
shallow[name] = value;
// TODO use "update" if this becomes available
@ -629,6 +631,7 @@ Vertex.prototype.properties = function () {
Vertex.prototype.setProperty = function (name, value) {
var shallow = shallowCopy(this._properties);
shallow['$id'] = this._properties.$id;
shallow[name] = value;
// TODO use "update" if this becomes available