Corrected attach_prop_init() documentation (__propInit => __initProps)
parent
a06d9a7204
commit
755b79725f
|
@ -194,13 +194,13 @@ function setup_props( func, class_data )
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attaches __propInit() method to the class prototype
|
* Attaches __initProps() method to the class prototype
|
||||||
*
|
*
|
||||||
* The __propInit() method will initialize class properties for that instance,
|
* The __initProps() method will initialize class properties for that instance,
|
||||||
* ensuring that their data is not shared with other instances (this is not a
|
* ensuring that their data is not shared with other instances (this is not a
|
||||||
* problem with primitive data types).
|
* problem with primitive data types).
|
||||||
*
|
*
|
||||||
* The __propInit() method will also initialize any parent properties
|
* The __initProps() method will also initialize any parent properties
|
||||||
* (recursive) to ensure that subtypes do not have a referencing issue, and
|
* (recursive) to ensure that subtypes do not have a referencing issue, and
|
||||||
* subtype properties take precedence over those of the parent.
|
* subtype properties take precedence over those of the parent.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue