From dde4fb99d362bd7dfb07178210acd15f8ac72b0e Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 16 Mar 2011 17:50:11 -0400 Subject: [PATCH] Corrected error language for invoking class module --- lib/class.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/class.js b/lib/class.js index a562345..8c51910 100644 --- a/lib/class.js +++ b/lib/class.js @@ -264,8 +264,8 @@ function createNamedClass( name, def ) if ( arguments.length > 2 ) { throw Error( - "Expecting two arguments for definition of named Class '" + name + - "'; " + arguments.length + " given." + "Expecting at most two arguments for definition of named Class '" + + name + "'; " + arguments.length + " given." ); }