Comparing version 1.1.0 to 1.1.1
@@ -1,1 +0,1 @@ | ||
{"files":["mol/deploy.sh.cmd","mol/index.html","mol/mol.jam.js","mol/readme.md","mol/log/log.node.ts","mol/object/object.ts","mol/object/readme.md","mol/set/set.ts","mol/set/set_select.jam.js","mol/defer/defer.ts","mol/defer/readme.md","mol/dict/dict.ts","mol/dict/dict_select.jam.js","mol/state/stack/stack.ts","mol/atom/atom.ts","mol/atom/readme.md"],"edgesIn":{"mol":{"mol/atom":{"priority":0},"mol/object":{"priority":0},"mol/log":{"priority":0},"mol/set":{"priority":0},"mol/defer":{"priority":0},"mol/state":{"priority":0},"mol/dict":{"priority":0}},"mol/object":{"mol/atom":{"priority":-1},"mol/defer":{"priority":-1}},"mol/log":{"mol/object":{"priority":-3},"mol/atom":{"priority":-3}},"mol/set":{"mol/atom":{"priority":-2}},"mol/defer":{"mol/atom":{"priority":-3}},"mol/state/stack":{"mol/atom":{"priority":-1}},"mol/state":{"mol/state/stack":{"priority":0}},"mol/dict":{"mol/state/stack":{"priority":-1}}},"edgesOut":{"mol/atom":{"mol":{"priority":0},"mol/object":{"priority":-1},"mol/set":{"priority":-2},"mol/defer":{"priority":-3},"mol/log":{"priority":-3},"mol/state/stack":{"priority":-1}},"mol/object":{"mol":{"priority":0},"mol/log":{"priority":-3}},"mol/log":{"mol":{"priority":0}},"mol/set":{"mol":{"priority":0}},"mol/defer":{"mol":{"priority":0},"mol/object":{"priority":-1}},"mol/state/stack":{"mol/state":{"priority":0},"mol/dict":{"priority":-1}},"mol/state":{"mol":{"priority":0}},"mol/dict":{"mol":{"priority":0}}},"deps":{"mol/atom":{"..":0,"/mol/atom/status":-1,"/mol/atom":-1,"/mol/object":-1,"/mol/set":-2,"/mol/atom/status/obsolete":-2,"/mol/atom/state":-5,"/mol/atom/stack":-1,"/mol/atom/status/actual":-3,"/mol/atom/status/checking":-3,"/mol/atom/catched":-4,"/mol/atom/wait":-1,"/mol/atom/actualize":-2,"/mol/atom/unreap":-4,"/mol/atom/reap":-4,"/mol/atom/updating/push":-3,"/mol/atom/schedule":-3,"/mol/atom/reaping/add":-3,"/mol/atom/reaping/delete":-3,"/mol/defer":-3,"/mol/log":-3,"/mol/atom/sync":-3,"/mol/state/stack/set":-1,"/mol/atom/wait/prototype":-3,"/mol/atom/task":-1},"mol":{"..":0,"/mol":0},"mol/object":{"..":0,"/mol/object":-1,"/mol/log/filter":-3,"/mol/log":-3},"mol/log":{"..":0,"/mol/log":-1,"/mol/log/filter":-2},"mol/set":{"..":0,"/mol/set":0,"/mol/set/shim":0},"mol/defer":{"..":0,"/mol/defer":-1,"/mol/object":-1,"/mol/defer/add":-3,"/mol/defer/drop":-3},"mol/state/stack":{"..":0,"/mol/state/stack":-1,"/mol/dict":-1},"mol/state":{"..":0},"mol/dict":{"..":0,"/mol/dict":0,"/mol/dict/shim":0}}} | ||
{"files":["mol/deploy.sh.cmd","mol/index.html","mol/mol.jam.js","mol/readme.md","mol/log/log.node.ts","mol/object/object.ts","mol/object/readme.md","mol/set/set.ts","mol/set/set_select.jam.js","mol/defer/defer.ts","mol/defer/readme.md","mol/dict/dict.ts","mol/dict/dict_select.jam.js","mol/state/stack/stack.ts","mol/atom/atom.ts","mol/atom/npm-debug.log","mol/atom/readme.md","mol/atom/xxx.ts"],"edgesIn":{"mol":{"mol/atom":{"priority":0},"mol/object":{"priority":0},"mol/log":{"priority":0},"mol/set":{"priority":0},"mol/defer":{"priority":0},"mol/state":{"priority":0},"mol/dict":{"priority":0}},"mol/object":{"mol/atom":{"priority":-1},"mol/defer":{"priority":-1}},"mol/log":{"mol/object":{"priority":-3},"mol/atom":{"priority":-3}},"mol/set":{"mol/atom":{"priority":-2}},"mol/defer":{"mol/atom":{"priority":-1}},"mol/state/stack":{"mol/atom":{"priority":-1}},"mol/state":{"mol/state/stack":{"priority":0}},"mol/dict":{"mol/state/stack":{"priority":-1}}},"edgesOut":{"mol/atom":{"mol":{"priority":0},"mol/object":{"priority":-1},"mol/set":{"priority":-2},"mol/defer":{"priority":-1},"mol/log":{"priority":-3},"mol/state/stack":{"priority":-1}},"mol/object":{"mol":{"priority":0},"mol/log":{"priority":-3}},"mol/log":{"mol":{"priority":0}},"mol/set":{"mol":{"priority":0}},"mol/defer":{"mol":{"priority":0},"mol/object":{"priority":-1}},"mol/state/stack":{"mol/state":{"priority":0},"mol/dict":{"priority":-1}},"mol/state":{"mol":{"priority":0}},"mol/dict":{"mol":{"priority":0}}},"deps":{"mol/atom":{"..":0,"/mol/atom/status":-1,"/mol/atom":-1,"/mol/object":-1,"/mol/set":-2,"/mol/atom/status/obsolete":-2,"/mol/atom/state":-5,"/mol/atom/stack":-1,"/mol/atom/status/actual":-3,"/mol/atom/status/checking":-3,"/mol/atom/catched":-4,"/mol/atom/wait":-1,"/mol/atom/actualize":-2,"/mol/atom/unreap":-4,"/mol/atom/reap":-4,"/mol/atom/updating/push":-3,"/mol/atom/schedule":-3,"/mol/atom/reaping/add":-3,"/mol/atom/reaping/delete":-3,"/mol/defer":-3,"/mol/log":-3,"/mol/atom/sync":-3,"/mol/state/stack/set":-1,"/mol/atom/wait/prototype":-3,"/mol/atom/task":-1,"/mol/defer/run":-1},"mol":{"..":0,"/mol":0},"mol/object":{"..":0,"/mol/object":-1,"/mol/log/filter":-3,"/mol/log":-3},"mol/log":{"..":0,"/mol/log":-1,"/mol/log/filter":-2},"mol/set":{"..":0,"/mol/set":0,"/mol/set/shim":0},"mol/defer":{"..":0,"/mol/defer":-1,"/mol/object":-1,"/mol/defer/add":-3,"/mol/defer/drop":-3},"mol/state/stack":{"..":0,"/mol/state/stack":-1,"/mol/dict":-1},"mol/state":{"..":0},"mol/dict":{"..":0,"/mol/dict":0,"/mol/dict/shim":0}}} |
33
node.js
@@ -468,5 +468,3 @@ require( "source-map-support" ).install() | ||
}); | ||
var next = this.pull(); | ||
if (next !== void 0) | ||
this.push(next); | ||
this.push(this.pull()); | ||
} | ||
@@ -685,2 +683,31 @@ $mol_atom.stack[0] = slave; | ||
//atom.js.map | ||
; | ||
var $; | ||
(function ($) { | ||
console.log('~~~ START ~~~'); | ||
var items = [ | ||
{ value: new $.$mol_atom(function () { return 'foo'; }, null, null, 'i1') }, | ||
{ value: new $.$mol_atom(function () { return 'bar'; }, null, null, 'i2') }, | ||
]; | ||
var rootLevel = new $.$mol_atom(function () { | ||
var x = items.length ? items[0].value.get() : 0; | ||
console.log('root: ' + x); | ||
items.forEach(function (item, i) { return new $.$mol_atom(subLevel(x, item), null, null, 's' + (i + 1)).get(); }); | ||
}, null, null, 'r'); | ||
function subLevel(x, item) { | ||
return function () { | ||
var res = "item: " + x + " + " + item.value.get(); | ||
console.log(res); | ||
return res; | ||
}; | ||
} | ||
rootLevel.get(); | ||
console.log(' ~~~ CHANGE: bar -> baz ~~~'); | ||
items[1].value.push('baz'); | ||
$.$mol_defer.run(); | ||
console.log(' ~~~ CHANGE: foo -> oof ~~~'); | ||
items[0].value.push('oof'); | ||
$.$mol_defer.run(); | ||
})($ || ($ = {})); | ||
//xxx.js.map | ||
//# sourceMappingURL=node.js.map |
@@ -650,5 +650,3 @@ require( "source-map-support" ).install() | ||
}); | ||
var next = this.pull(); | ||
if (next !== void 0) | ||
this.push(next); | ||
this.push(this.pull()); | ||
} | ||
@@ -867,2 +865,31 @@ $mol_atom.stack[0] = slave; | ||
//atom.js.map | ||
; | ||
var $; | ||
(function ($) { | ||
console.log('~~~ START ~~~'); | ||
var items = [ | ||
{ value: new $.$mol_atom(function () { return 'foo'; }, null, null, 'i1') }, | ||
{ value: new $.$mol_atom(function () { return 'bar'; }, null, null, 'i2') }, | ||
]; | ||
var rootLevel = new $.$mol_atom(function () { | ||
var x = items.length ? items[0].value.get() : 0; | ||
console.log('root: ' + x); | ||
items.forEach(function (item, i) { return new $.$mol_atom(subLevel(x, item), null, null, 's' + (i + 1)).get(); }); | ||
}, null, null, 'r'); | ||
function subLevel(x, item) { | ||
return function () { | ||
var res = "item: " + x + " + " + item.value.get(); | ||
console.log(res); | ||
return res; | ||
}; | ||
} | ||
rootLevel.get(); | ||
console.log(' ~~~ CHANGE: bar -> baz ~~~'); | ||
items[1].value.push('baz'); | ||
$.$mol_defer.run(); | ||
console.log(' ~~~ CHANGE: foo -> oof ~~~'); | ||
items[0].value.push('oof'); | ||
$.$mol_defer.run(); | ||
})($ || ($ = {})); | ||
//xxx.js.map | ||
//# sourceMappingURL=node.test.js.map |
{ | ||
"name": "mol_atom", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "node.js", | ||
"dependencies": {} | ||
} |
@@ -1,1 +0,1 @@ | ||
{"files":["mol/deploy.sh.cmd","mol/index.html","mol/mol.jam.js","mol/readme.md","mol/log/log.web.ts","mol/object/object.ts","mol/object/readme.md","mol/set/set.ts","mol/set/set_select.jam.js","mol/defer/defer.ts","mol/defer/readme.md","mol/dict/dict.ts","mol/dict/dict_select.jam.js","mol/state/stack/stack.ts","mol/atom/atom.ts","mol/atom/readme.md"],"edgesIn":{"mol":{"mol/atom":{"priority":0},"mol/object":{"priority":0},"mol/log":{"priority":0},"mol/set":{"priority":0},"mol/defer":{"priority":0},"mol/state":{"priority":0},"mol/dict":{"priority":0}},"mol/object":{"mol/atom":{"priority":-1},"mol/defer":{"priority":-1}},"mol/log":{"mol/object":{"priority":-3},"mol/atom":{"priority":-3}},"mol/set":{"mol/atom":{"priority":-2}},"mol/defer":{"mol/atom":{"priority":-3}},"mol/state/stack":{"mol/atom":{"priority":-1}},"mol/state":{"mol/state/stack":{"priority":0}},"mol/dict":{"mol/state/stack":{"priority":-1}}},"edgesOut":{"mol/atom":{"mol":{"priority":0},"mol/object":{"priority":-1},"mol/set":{"priority":-2},"mol/defer":{"priority":-3},"mol/log":{"priority":-3},"mol/state/stack":{"priority":-1}},"mol/object":{"mol":{"priority":0},"mol/log":{"priority":-3}},"mol/log":{"mol":{"priority":0}},"mol/set":{"mol":{"priority":0}},"mol/defer":{"mol":{"priority":0},"mol/object":{"priority":-1}},"mol/state/stack":{"mol/state":{"priority":0},"mol/dict":{"priority":-1}},"mol/state":{"mol":{"priority":0}},"mol/dict":{"mol":{"priority":0}}},"deps":{"mol/atom":{"..":0,"/mol/atom/status":-1,"/mol/atom":-1,"/mol/object":-1,"/mol/set":-2,"/mol/atom/status/obsolete":-2,"/mol/atom/state":-5,"/mol/atom/stack":-1,"/mol/atom/status/actual":-3,"/mol/atom/status/checking":-3,"/mol/atom/catched":-4,"/mol/atom/wait":-1,"/mol/atom/actualize":-2,"/mol/atom/unreap":-4,"/mol/atom/reap":-4,"/mol/atom/updating/push":-3,"/mol/atom/schedule":-3,"/mol/atom/reaping/add":-3,"/mol/atom/reaping/delete":-3,"/mol/defer":-3,"/mol/log":-3,"/mol/atom/sync":-3,"/mol/state/stack/set":-1,"/mol/atom/wait/prototype":-3,"/mol/atom/task":-1},"mol":{"..":0,"/mol":0},"mol/object":{"..":0,"/mol/object":-1,"/mol/log/filter":-3,"/mol/log":-3},"mol/log":{"..":0,"/mol/log":-1,"/mol/log/filter":-2},"mol/set":{"..":0,"/mol/set":0,"/mol/set/shim":0},"mol/defer":{"..":0,"/mol/defer":-1,"/mol/object":-1,"/mol/defer/add":-3,"/mol/defer/drop":-3},"mol/state/stack":{"..":0,"/mol/state/stack":-1,"/mol/dict":-1},"mol/state":{"..":0},"mol/dict":{"..":0,"/mol/dict":0,"/mol/dict/shim":0}}} | ||
{"files":["mol/deploy.sh.cmd","mol/index.html","mol/mol.jam.js","mol/readme.md","mol/log/log.web.ts","mol/object/object.ts","mol/object/readme.md","mol/set/set.ts","mol/set/set_select.jam.js","mol/defer/defer.ts","mol/defer/readme.md","mol/dict/dict.ts","mol/dict/dict_select.jam.js","mol/state/stack/stack.ts","mol/atom/atom.ts","mol/atom/npm-debug.log","mol/atom/readme.md","mol/atom/xxx.ts"],"edgesIn":{"mol":{"mol/atom":{"priority":0},"mol/object":{"priority":0},"mol/log":{"priority":0},"mol/set":{"priority":0},"mol/defer":{"priority":0},"mol/state":{"priority":0},"mol/dict":{"priority":0}},"mol/object":{"mol/atom":{"priority":-1},"mol/defer":{"priority":-1}},"mol/log":{"mol/object":{"priority":-3},"mol/atom":{"priority":-3}},"mol/set":{"mol/atom":{"priority":-2}},"mol/defer":{"mol/atom":{"priority":-1}},"mol/state/stack":{"mol/atom":{"priority":-1}},"mol/state":{"mol/state/stack":{"priority":0}},"mol/dict":{"mol/state/stack":{"priority":-1}}},"edgesOut":{"mol/atom":{"mol":{"priority":0},"mol/object":{"priority":-1},"mol/set":{"priority":-2},"mol/defer":{"priority":-1},"mol/log":{"priority":-3},"mol/state/stack":{"priority":-1}},"mol/object":{"mol":{"priority":0},"mol/log":{"priority":-3}},"mol/log":{"mol":{"priority":0}},"mol/set":{"mol":{"priority":0}},"mol/defer":{"mol":{"priority":0},"mol/object":{"priority":-1}},"mol/state/stack":{"mol/state":{"priority":0},"mol/dict":{"priority":-1}},"mol/state":{"mol":{"priority":0}},"mol/dict":{"mol":{"priority":0}}},"deps":{"mol/atom":{"..":0,"/mol/atom/status":-1,"/mol/atom":-1,"/mol/object":-1,"/mol/set":-2,"/mol/atom/status/obsolete":-2,"/mol/atom/state":-5,"/mol/atom/stack":-1,"/mol/atom/status/actual":-3,"/mol/atom/status/checking":-3,"/mol/atom/catched":-4,"/mol/atom/wait":-1,"/mol/atom/actualize":-2,"/mol/atom/unreap":-4,"/mol/atom/reap":-4,"/mol/atom/updating/push":-3,"/mol/atom/schedule":-3,"/mol/atom/reaping/add":-3,"/mol/atom/reaping/delete":-3,"/mol/defer":-3,"/mol/log":-3,"/mol/atom/sync":-3,"/mol/state/stack/set":-1,"/mol/atom/wait/prototype":-3,"/mol/atom/task":-1,"/mol/defer/run":-1},"mol":{"..":0,"/mol":0},"mol/object":{"..":0,"/mol/object":-1,"/mol/log/filter":-3,"/mol/log":-3},"mol/log":{"..":0,"/mol/log":-1,"/mol/log/filter":-2},"mol/set":{"..":0,"/mol/set":0,"/mol/set/shim":0},"mol/defer":{"..":0,"/mol/defer":-1,"/mol/object":-1,"/mol/defer/add":-3,"/mol/defer/drop":-3},"mol/state/stack":{"..":0,"/mol/state/stack":-1,"/mol/dict":-1},"mol/state":{"..":0},"mol/dict":{"..":0,"/mol/dict":0,"/mol/dict/shim":0}}} |
33
web.js
@@ -471,5 +471,3 @@ /// Fake namespace for optional overrides | ||
}); | ||
var next = this.pull(); | ||
if (next !== void 0) | ||
this.push(next); | ||
this.push(this.pull()); | ||
} | ||
@@ -688,2 +686,31 @@ $mol_atom.stack[0] = slave; | ||
//atom.js.map | ||
; | ||
var $; | ||
(function ($) { | ||
console.log('~~~ START ~~~'); | ||
var items = [ | ||
{ value: new $.$mol_atom(function () { return 'foo'; }, null, null, 'i1') }, | ||
{ value: new $.$mol_atom(function () { return 'bar'; }, null, null, 'i2') }, | ||
]; | ||
var rootLevel = new $.$mol_atom(function () { | ||
var x = items.length ? items[0].value.get() : 0; | ||
console.log('root: ' + x); | ||
items.forEach(function (item, i) { return new $.$mol_atom(subLevel(x, item), null, null, 's' + (i + 1)).get(); }); | ||
}, null, null, 'r'); | ||
function subLevel(x, item) { | ||
return function () { | ||
var res = "item: " + x + " + " + item.value.get(); | ||
console.log(res); | ||
return res; | ||
}; | ||
} | ||
rootLevel.get(); | ||
console.log(' ~~~ CHANGE: bar -> baz ~~~'); | ||
items[1].value.push('baz'); | ||
$.$mol_defer.run(); | ||
console.log(' ~~~ CHANGE: foo -> oof ~~~'); | ||
items[0].value.push('oof'); | ||
$.$mol_defer.run(); | ||
})($ || ($ = {})); | ||
//xxx.js.map | ||
//# sourceMappingURL=web.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
239867
2485