Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-07-04 13:36:54 +03:00
commit 47e56b647f

View File

@ -422,7 +422,11 @@ BOOTSTRAP(function(){
// STOP(value) yielded / thrown // STOP(value) yielded / thrown
// -> value yielded and iteration stops // -> 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... // XXX should we use this for sources(..) and friends...
var stoppable = var stoppable =
module.stoppable = module.stoppable =
@ -495,8 +499,7 @@ function(func){
// should we support multple names??? // should we support multple names???
// XXX replace the current version with these... // XXX replace the current version with these...
// ...this will lead to breaking API.. // ...this will lead to breaking API..
// XXX var _sources =
ear _sources =
module._sources = module._sources =
function*(obj, name=undefined){ function*(obj, name=undefined){
while(obj != null){ while(obj != null){