mirror of
https://github.com/flynx/object.js.git
synced 2025-11-03 04:50:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a4afdc17be
commit
9d67033cc6
@ -281,6 +281,7 @@ function Constructor(name, a, b){
|
|||||||
_constructor.prototype)
|
_constructor.prototype)
|
||||||
// prototype defines .__call__(..)...
|
// prototype defines .__call__(..)...
|
||||||
// NOTE: we need to isolate the .__call__ from instances...
|
// NOTE: we need to isolate the .__call__ from instances...
|
||||||
|
// XXX should this be instanceof Function???
|
||||||
: _constructor.prototype.__call__ instanceof Function ?
|
: _constructor.prototype.__call__ instanceof Function ?
|
||||||
_mirror(
|
_mirror(
|
||||||
function(){
|
function(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user