From 4e38898c934e6de018223ed6730bff597f074dc5 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 10 Nov 2010 23:31:58 -0500 Subject: [PATCH] Added additional documentation to prop_copy() --- lib/class.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/class.js b/lib/class.js index e5cf60e..fedaf9e 100644 --- a/lib/class.js +++ b/lib/class.js @@ -56,6 +56,9 @@ var Class = function() /** * Copies properties to the destination object * + * If the method already exists, it will be overridden and accessible via either + * the parent prototype or by invoking this.__super(). + * * The destination object is directly modified. * * @param {Object} props properties to copy