mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 18:40: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...
|
// 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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user