mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 19:11:22 -05:00
reverting change
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user