refactored database

This commit is contained in:
Kevin Jahns
2015-10-14 19:28:19 +02:00
parent ee133ef334
commit 181595293f
10 changed files with 79 additions and 170 deletions

View File

@@ -388,7 +388,7 @@ class RBTree {
}
}
}
set (v) {
put (v) {
if (v == null || v.id == null || v.id.constructor !== Array) {
throw new Error('v is expected to have an id property which is an Array!')
}