tweaks and cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-06-29 14:23:12 +03:00
parent 637c53d238
commit d47a18f5a0

View File

@ -491,10 +491,12 @@ function(func){
//--------------------------------------------------------------------- //---------------------------------------------------------------------
// Prototype chain content access... // Prototype chain content access...
// XXX EXPEREMENTAL...
// should we support multple names???
// XXX // XXX
var _sources = var _sources =
module._sources = module._sources =
function*(obj, name){ function*(obj, name=undefined){
while(obj != null){ while(obj != null){
if(name === undefined if(name === undefined
|| obj.hasOwnProperty(name) || obj.hasOwnProperty(name)