fixing types.

This commit is contained in:
Kevin Jahns
2015-07-09 15:50:59 +02:00
parent f862fae473
commit 9b45a78e58
9 changed files with 76 additions and 61 deletions

View File

@@ -8,11 +8,14 @@ class Y { //eslint-disable-line no-unused-vars
this.connector = new Y[opts.connector.name](this, opts.connector);
this.db.requestTransaction(function*(){
// create initial Map type
yield* this.addOperation({
var model = {
id: ["_", 0],
struct: "Map",
type: "Map",
map: {}
});
};
yield* this.addOperation(model);
this.createType(model);
});
}
transact (generator) {