docs and some cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-04-15 00:01:37 +03:00
parent 5073096601
commit 569d1e3f21

View File

@ -65,6 +65,10 @@ function(method, name, that){
// Get a list of prototypes that have a prop/attr defined ... // Get a list of prototypes that have a prop/attr defined ...
// //
// defines(obj, name)
// defines(obj, name, callback)
// -> list
//
// XXX revise name... // XXX revise name...
var defines = var defines =
module.defines = module.defines =
@ -79,13 +83,10 @@ function(that, name, callback){
&& callback(that) && callback(that)
// stop requested by callback... // stop requested by callback...
if(stop === false || stop == 'stop'){ if(stop === false || stop == 'stop'){
return that return that } }
}
}
that = that.__proto__ that = that.__proto__
} while(that !== null) } while(that !== null)
return res return res }
}