1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

one more bit to pass -- futzing with the if/else chains

This commit is contained in:
Jeremy Ashkenas 2010-02-12 23:35:03 -05:00
parent ee1c9b284a
commit 066ee52615
7 changed files with 36 additions and 27 deletions

View file

@ -117,7 +117,7 @@
this.tag(1, 'PROPERTY_ACCESS');
}
}
tag === 'ELSE' && this.tag() === 'IF' ? this.tag(1, 'ELSIF') : this.token(tag, id);
tag === 'IF' && this.tag() === 'ELSE' ? this.tag(1, 'ELSIF') : this.token(tag, id);
this.i += id.length;
return true;
};