This commit is contained in:
Kevin Jahns
2015-09-09 20:29:39 +02:00
parent 06e7caab2d
commit b9e21665e2
6 changed files with 28 additions and 19 deletions

View File

@@ -15,7 +15,7 @@ class YConfig { // eslint-disable-line no-unused-vars
this.db = new Y[opts.db.name](this, opts.db)
this.connector = new Y[opts.connector.name](this, opts.connector)
var yconfig = this
this.db.requestTransaction(function *() {
this.db.requestTransaction(function * requestTransaction () {
// create initial Map type
var model = {
id: ['_', 0],