mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
conditionals with no alternative now evaluate to 'undefined' instead of 'null'
This commit is contained in:
@@ -294,7 +294,7 @@
|
||||
}
|
||||
this.i += value.length;
|
||||
prev = last(this.tokens);
|
||||
spaced = ((prev != null) ? prev.spaced : null);
|
||||
spaced = ((prev != null) ? prev.spaced : undefined);
|
||||
tag = value;
|
||||
if (value === '=') {
|
||||
if (include(JS_FORBIDDEN, val = this.value())) {
|
||||
|
||||
Reference in New Issue
Block a user