From 6a14b86777fcfa338b8016287815760f9c75c3a4 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 10 Nov 2010 20:45:33 -0500 Subject: [PATCH] Minor documentation changes --- lib/class.js | 10 ++++++++++ test/test-class-constructor.js | 4 ++-- test/test-class.js | 4 ++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/lib/class.js b/lib/class.js index 8034549..2161d44 100644 --- a/lib/class.js +++ b/lib/class.js @@ -31,6 +31,16 @@ var Class = function() }; +/** + * Copies properties to the destination object + * + * The destination object is directly modified. + * + * @param {Object} props properties to copy + * @param {Object} dest destination object + * + * @return undefined + */ var prop_copy = function( props, dest ) { // copy each of the properties to the destination object diff --git a/test/test-class-constructor.js b/test/test-class-constructor.js index 87ae954..2185c83 100644 --- a/test/test-class-constructor.js +++ b/test/test-class-constructor.js @@ -1,5 +1,5 @@ /** - * Tests Class class + * Tests class module constructor creation * * Copyright (C) 2010 Mike Gerwitz * @@ -17,7 +17,7 @@ * along with this program. If not, see . * * @author Mike Gerwitz - * @package core + * @package test */ require( './common' ); diff --git a/test/test-class.js b/test/test-class.js index 392db67..011af67 100644 --- a/test/test-class.js +++ b/test/test-class.js @@ -1,5 +1,5 @@ /** - * Tests Class class + * Tests class module object creation * * Copyright (C) 2010 Mike Gerwitz * @@ -17,7 +17,7 @@ * along with this program. If not, see . * * @author Mike Gerwitz - * @package core + * @package test */ require( './common' );