mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
Updating Underscore to 1.1.0, fixing a hasOwnProperty glitch in Scope, and a double-semicolon bug in ParentheticalNode.
This commit is contained in:
@@ -1301,6 +1301,7 @@ exports.ParentheticalNode = class ParentheticalNode extends BaseNode
|
||||
top = del o, 'top'
|
||||
@expression.parenthetical = true
|
||||
code = @expression.compile(o)
|
||||
return code if top and @expression.isPureStatement o
|
||||
if @parenthetical or @isStatement o
|
||||
return if top then @tab + code + ';' else code
|
||||
"(#{code})"
|
||||
|
||||
Reference in New Issue
Block a user