mirror of
https://github.com/flynx/object.js.git
synced 2025-11-01 20:10:08 +00:00
doc cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
fe0903b28e
commit
c9cf3e9aca
24
object.js
24
object.js
@ -90,13 +90,13 @@ function(obj, name, callback){
|
|||||||
// Find the next parent attribute in the prototype chain.
|
// Find the next parent attribute in the prototype chain.
|
||||||
//
|
//
|
||||||
// Get parent attribute value...
|
// Get parent attribute value...
|
||||||
// parent(<value>, <name>, <this>)
|
// parent(value, name, this)
|
||||||
// -> <value>
|
// -> value>
|
||||||
// -> undefined
|
// -> undefined
|
||||||
//
|
//
|
||||||
// Get parent method...
|
// Get parent method...
|
||||||
// parent(<meth>, <this>)
|
// parent(meth, this)
|
||||||
// -> <meth>
|
// -> meth
|
||||||
// -> undefined
|
// -> undefined
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
@ -153,9 +153,9 @@ function(proto, name, that){
|
|||||||
|
|
||||||
// Find the next parent method and call it...
|
// Find the next parent method and call it...
|
||||||
//
|
//
|
||||||
// parentCall(<meth>, <this>, ...)
|
// parentCall(meth, this, ...)
|
||||||
// parentCall(<proto>, <name>, this>, ...)
|
// parentCall(proto, name, this, ...)
|
||||||
// -> <res>
|
// -> res
|
||||||
// -> undefined
|
// -> undefined
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
@ -232,7 +232,7 @@ function(root, ...objects){
|
|||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
// Make/get the base instance object...
|
// Make/get the base instance object...
|
||||||
//
|
//
|
||||||
// makeRawInstance(context, constructor, ...args)
|
// makeRawInstance(context, constructor, ...)
|
||||||
// -> instance
|
// -> instance
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
@ -307,12 +307,12 @@ function(context, constructor, ...args){
|
|||||||
// Make a JavaScrip object constructor...
|
// Make a JavaScrip object constructor...
|
||||||
//
|
//
|
||||||
// Make a constructor with an object prototype...
|
// Make a constructor with an object prototype...
|
||||||
// Constructor(<name>, <proto>)
|
// Constructor(name, proto)
|
||||||
// -> constructor
|
// -> constructor
|
||||||
//
|
//
|
||||||
// Make a constructor with a prototype (object/function) and a class
|
// Make a constructor with a prototype (object/function) and a class
|
||||||
// prototype...
|
// prototype...
|
||||||
// Constructor(<name>, <class-proto>, <proto>)
|
// Constructor(name, class-proto, proto)
|
||||||
// -> constructor
|
// -> constructor
|
||||||
// NOTE: the <class-proto> defines a set of class methods and
|
// NOTE: the <class-proto> defines a set of class methods and
|
||||||
// attributes.
|
// attributes.
|
||||||
@ -327,8 +327,8 @@ function(context, constructor, ...args){
|
|||||||
// -> instance
|
// -> instance
|
||||||
//
|
//
|
||||||
// Pass arguments to the constructor...
|
// Pass arguments to the constructor...
|
||||||
// constructor(<arg>[, ...])
|
// constructor(arg[, ...])
|
||||||
// new constructor(<arg>[, ...])
|
// new constructor(arg[, ...])
|
||||||
// -> instance
|
// -> instance
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user