Merge branch 'master' of github.com:flynx/object.js

This commit is contained in:
Alex A. Naanou 2022-07-04 05:00:14 +03:00
commit c3cbd26a62
2 changed files with 10 additions and 5 deletions

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 =
@ -493,7 +497,8 @@ function(func){
// XXX EXPEREMENTAL... // XXX EXPEREMENTAL...
// should we support multple names??? // should we support multple names???
// XXX // XXX replace the current version with these..c
// ...this will lead to breaking API..
var _sources = var _sources =
module._sources = module._sources =
function*(obj, name=undefined){ function*(obj, name=undefined){

View File

@ -1041,4 +1041,4 @@ typeof(__filename) != 'undefined'
/********************************************************************** /**********************************************************************
* vim:set ts=4 sw=4 : */ return module }) * vim:set ts=4 sw=4 nowrap : */ return module })