added support for static content, added jigsaw puzzle
This commit is contained in:
2
dist
2
dist
Submodule dist updated: 434432a742...c44c86054e
@@ -560,12 +560,12 @@ module.exports = function (Y/* :any */) {
|
|||||||
}
|
}
|
||||||
* getOperation (id/* :any */)/* :Transaction<any> */ {
|
* getOperation (id/* :any */)/* :Transaction<any> */ {
|
||||||
var o = yield* this.os.find(id)
|
var o = yield* this.os.find(id)
|
||||||
if (o != null || id[0] != '_') {
|
if (o != null || id[0] !== '_') {
|
||||||
return o
|
return o
|
||||||
} else {
|
} else {
|
||||||
// need to generate this operation
|
// need to generate this operation
|
||||||
if (this.store._nextUserId == null) {
|
if (this.store._nextUserId == null) {
|
||||||
var typename= id[1].split('_')[0]
|
var typename = id[1].split('_')[0]
|
||||||
this.store._nextUserId = id
|
this.store._nextUserId = id
|
||||||
yield* Y[typename].createType.call(this)
|
yield* Y[typename].createType.call(this)
|
||||||
delete this.store._nextUserId
|
delete this.store._nextUserId
|
||||||
|
|||||||
Reference in New Issue
Block a user