From 86bbef6f77bf15b6a9403a0c0fd2f06c12b04303 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 10 Nov 2010 23:29:28 -0500 Subject: [PATCH] Added documentation for attach_extend() --- lib/class.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/class.js b/lib/class.js index 338c3ef..1998b88 100644 --- a/lib/class.js +++ b/lib/class.js @@ -160,6 +160,13 @@ exports.extend = function( base ) } +/** + * Attaches extend method to the given function's prototype + * + * @param {Function} func function to attach method to + * + * @return undefined + */ var attach_extend = function( func ) { /**