Cleanup code

This commit is contained in:
haad
2016-02-26 14:24:34 +01:00
parent fd8b17d2d5
commit ce99aa734f
6 changed files with 0 additions and 192 deletions

View File

@@ -13,10 +13,6 @@ class Node {
return "" + this.id + "." + this.seq + "." + this.ver;
}
compact() {
return { id: this.id, seq: this.seq, ver: this.ver, data: this.data, next: this.next }
}
toJson() {
return { id: this.id, seq: this.seq, ver: this.ver, data: this.data, next: this.next }
}

View File

@@ -27,7 +27,6 @@ class OrbitList extends List {
node._commit();
this._currentBatch.push(node);
this.ver ++;
}
join(other) {

View File

@@ -14,10 +14,6 @@ class OrbitNode extends Node {
this.hash = hash ? hash : this.ipfsHash;
}
get compactId() {
return "" + this.id + "." + this.seq + "." + this.ver;
}
get ipfsHash() {
this._commit();
return this.hash;