version() must have int type argument

This commit is contained in:
rogerl%netscape.com 1999-12-06 22:45:53 +00:00
Родитель 875f5d20d3
Коммит 07c7898644
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -45,16 +45,16 @@ function startTest() {
/*
// JavaScript 1.3 is supposed to be compliant ecma version 1.0
if ( VERSION == "ECMA_1" ) {
version ( "130" );
version ( 130 );
}
if ( VERSION == "JS_1.3" ) {
version ( "130" );
version ( 130 );
}
if ( VERSION == "JS_1.2" ) {
version ( "120" );
version ( 120 );
}
if ( VERSION == "JS_1.1" ) {
version ( "110" );
version ( 110 );
}
// for ecma version 2.0, we will leave the javascript version to
// the default ( for now ).