}
// including ... aaa = new BBB({
- if (token.data == 'new' && this.lookTok(-1).data == '=' && this.lookTok(-2).is('NAME')) {
+ if (token.data == 'new' && !isVar && name) {
var mname = this.lookTok(1).data;
var args = this.lookTok(2).items;
// have a go at applying the properties..
}
+ this.next();
+ this.next();
}