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