Corrected error language for invoking class module
parent
54ad7b5ca6
commit
dde4fb99d3
|
@ -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."
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue