mirror of
https://github.com/flynx/object.js.git
synced 2025-10-28 18:10:08 +00:00
tweaks and cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
637c53d238
commit
d47a18f5a0
@ -491,10 +491,12 @@ function(func){
|
||||
//---------------------------------------------------------------------
|
||||
// Prototype chain content access...
|
||||
|
||||
// XXX EXPEREMENTAL...
|
||||
// should we support multple names???
|
||||
// XXX
|
||||
var _sources =
|
||||
module._sources =
|
||||
function*(obj, name){
|
||||
function*(obj, name=undefined){
|
||||
while(obj != null){
|
||||
if(name === undefined
|
||||
|| obj.hasOwnProperty(name)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user