Skip to content

Commit

Permalink
Disable :const_missing parser option by default
Browse files Browse the repository at this point in the history
This can be re-enabled for development mode.
  • Loading branch information
adambeynon committed Sep 2, 2013
1 parent 99572c4 commit 9f442e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opal/parser.rb
Expand Up @@ -88,7 +88,7 @@ def parse(source, options = {})
@source_file = options[:source_file] || @file
@method_missing = (options[:method_missing] != false)
@arity_check = options[:arity_check]
@const_missing = (options[:const_missing] != false)
@const_missing = (options[:const_missing] == true)
@irb_vars = (options[:irb] == true)

@method_calls = {}
Expand Down

0 comments on commit 9f442e6

Please sign in to comment.