From 755b79725f073c674053bbf4fdfb61a2dedc3818 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 16 Dec 2010 23:56:35 -0500 Subject: [PATCH] Corrected attach_prop_init() documentation (__propInit => __initProps) --- lib/class.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/class.js b/lib/class.js index 557ff5c..16f724d 100644 --- a/lib/class.js +++ b/lib/class.js @@ -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. *