1
0
Fork 0

Corrected attach_prop_init() documentation (__propInit => __initProps)

closure/master
Mike Gerwitz 2010-12-16 23:56:35 -05:00
parent a06d9a7204
commit 755b79725f
1 changed files with 3 additions and 3 deletions

View File

@ -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
* 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
* subtype properties take precedence over those of the parent.
*