mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 18:40:08 +00:00
updated docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a8958d255d
commit
e8ed996aba
@ -99,7 +99,7 @@ var Item = object.Constructor('Item', {
|
|||||||
|
|
||||||
__init__: function(){
|
__init__: function(){
|
||||||
// call the "super" method...
|
// call the "super" method...
|
||||||
object.parentCall(this.__init__, this)
|
object.parentCall(this.prototype.__init__, this)
|
||||||
|
|
||||||
this.item_attr = 'instance attribute value'
|
this.item_attr = 'instance attribute value'
|
||||||
},
|
},
|
||||||
|
|||||||
@ -98,6 +98,7 @@ function(obj, name, callback){
|
|||||||
// passed explicitly.
|
// passed explicitly.
|
||||||
// NOTE: this is super(..) replacement...
|
// NOTE: this is super(..) replacement...
|
||||||
// NOTE: if method is root (no super method) this will return undefined.
|
// NOTE: if method is root (no super method) this will return undefined.
|
||||||
|
// NOTE: for
|
||||||
var parent =
|
var parent =
|
||||||
module.parent =
|
module.parent =
|
||||||
function(method, name, that){
|
function(method, name, that){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user