1
0
Fork 0

Corrected error language for invoking class module

closure/master
Mike Gerwitz 2011-03-16 17:50:11 -04:00
parent 54ad7b5ca6
commit dde4fb99d3
1 changed files with 2 additions and 2 deletions

View File

@ -264,8 +264,8 @@ function createNamedClass( name, def )
if ( arguments.length > 2 ) if ( arguments.length > 2 )
{ {
throw Error( throw Error(
"Expecting two arguments for definition of named Class '" + name + "Expecting at most two arguments for definition of named Class '" +
"'; " + arguments.length + " given." name + "'; " + arguments.length + " given."
); );
} }