mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
reverting change
This commit is contained in:
parent
d7d9cb8d28
commit
e72ef1a61a
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module CoffeeScript
|
|||
@indent = o[:indent]
|
||||
top = self.top_sensitive? ? @options[:top] : @options.delete(:top)
|
||||
closure = statement? && !statement_only? && !top && !@options[:return] && !self.is_a?(CommentNode)
|
||||
closure &&= !contains? {|n| n.is_a?(ReturnNode) }
|
||||
closure &&= !contains? {|n| n.statement_only? }
|
||||
closure ? compile_closure(@options) : compile_node(@options)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue