mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
version() must have int type argument
This commit is contained in:
parent
875f5d20d3
commit
07c7898644
@ -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 ).
|
||||
|
Loading…
Reference in New Issue
Block a user