mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
nothing much
This commit is contained in:
@@ -1209,9 +1209,9 @@ exports.IfNode: class IfNode extends BaseNode
|
||||
@switcher: variable
|
||||
@condition: if @multiple
|
||||
for cond, i in @condition
|
||||
new OpNode('is', (if i is 0 then assigner else @switcher), cond)
|
||||
new OpNode('==', (if i is 0 then assigner else @switcher), cond)
|
||||
else
|
||||
new OpNode('is', assigner, @condition)
|
||||
new OpNode('==', assigner, @condition)
|
||||
@else_body.rewrite_condition(@switcher) if @is_chain()
|
||||
this
|
||||
|
||||
|
||||
Reference in New Issue
Block a user