From a4ed6886ce9b3b8eb65d81aa8f91d320dfab2219 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 2 Jul 2022 19:21:03 +0300 Subject: [PATCH 1/3] notes... Signed-off-by: Alex A. Naanou --- object.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/object.js b/object.js index 736a5bb..4a55ce2 100755 --- a/object.js +++ b/object.js @@ -422,7 +422,11 @@ BOOTSTRAP(function(){ // STOP(value) yielded / thrown // -> value yielded and iteration stops // -// XXX doc!!! +// +// NOTE: this repeats the same code at lest twice, not sure yet how to avoid +// this... +// +// XXX user doc!!! // XXX should we use this for sources(..) and friends... var stoppable = module.stoppable = From 4e6c2809191ef67f7b8bfe7d90dd991737aed34f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 3 Jul 2022 23:03:24 +0300 Subject: [PATCH 2/3] typo fix... Signed-off-by: Alex A. Naanou --- object.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object.js b/object.js index 2d48e7e..3a5e15e 100755 --- a/object.js +++ b/object.js @@ -499,7 +499,7 @@ function(func){ // should we support multple names??? // XXX replace the current version with these..c // ...this will lead to breaking API.. -ear _sources = +var _sources = module._sources = function*(obj, name=undefined){ while(obj != null){ From 8a40ccadf9a7d2c4aaf7dba1fed49ba60d554324 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 4 Jul 2022 04:59:41 +0300 Subject: [PATCH 3/3] ... Signed-off-by: Alex A. Naanou --- object.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object.js b/object.js index 736a5bb..2c022f7 100755 --- a/object.js +++ b/object.js @@ -375,7 +375,7 @@ BOOTSTRAP(function(){ return Reflect.construct( module.Error.__proto__, args, this.constructor) }, //return Reflect.construct(Error, args, this.constructor) }, - }) + }) // Value trigger iteration stop and to carry results...