token.getType() == Token.COMMA ||
token.getType() == Token.IN;
*/
- if (token.name == "IN")) {
+ if (token.name == "IN") {
break;
} else {
this.parseExpression();
default:
- if ((token.type != "NAME") && (token.type != "KEYW"){
+ if ((token.type != "NAME") && (token.type != "KEYW")){
break;
}
// got identifier..
var isInObjectLitAr = isObjectLitAr[isObjectLitAr.length-1];
- if (isInObjectLitAr && this.ts.lookTok(1).data = ":" &&
+ if (isInObjectLitAr && this.ts.lookTok(1).data == ":" &&
( this.ts.lookTok(-1).data == "{" || this.ts.lookTok(-1).data == "," )) {
// see if we can replace..
// remove the quotes..
}
return false;
}
-});
\ No newline at end of file
+};
\ No newline at end of file