mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 18:40:08 +00:00
cleanup + docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
21ea5d8b37
commit
3b0dc683b5
16
object.js
16
object.js
@ -426,7 +426,21 @@ function(context, constructor, ...args){
|
||||
// call .__init__(..) if defined
|
||||
//
|
||||
//
|
||||
//
|
||||
// Special attributes:
|
||||
//
|
||||
// Sets parent constructor
|
||||
// .__extends__ = constructor
|
||||
// NOTE: this can be set on either constructor-mixin or proto but
|
||||
// not on both...
|
||||
// NOTE: if .__proto__ is not set in the proto, then it will be
|
||||
// set to .__extends__.prototype by default.
|
||||
// NOTE: setting this and proto.__proto__ to can be used to link the
|
||||
// constructor and instance object to different prototype chains
|
||||
// NOTE: this attr is only used if explicitly defined, inherited
|
||||
// values are ignored.
|
||||
// XXX this may get removed in future versions.
|
||||
//
|
||||
//
|
||||
// Special methods (constructor):
|
||||
//
|
||||
// Handle uninitialized instance construction
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user