Skip to content

Commit

Permalink
Stop including opal/parser.rb twice in opal-parser.js
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 6, 2013
1 parent 2de3af2 commit 13cf9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/opal-parser.js.erb
Expand Up @@ -2,7 +2,7 @@
<% require_asset 'strscan' %>

// We need (some) of the libs from our real ruby parser (not in sprockets load path)
<% %w(opal/version opal/grammar opal/lexer opal/parser opal/target_scope opal/core_ext opal/lexer_scope opal/grammar_helpers opal/parser opal/fragment opal).each do |f| %>
<% %w(opal/version opal/grammar opal/lexer opal/parser opal/target_scope opal/core_ext opal/lexer_scope opal/grammar_helpers opal/fragment opal).each do |f| %>
<%= Opal::RequireParser.parse File.read(File.join Opal.core_dir, '..', 'lib', "#{f}.rb") %>
<% end %>

Expand Down

0 comments on commit 13cf9b1

Please sign in to comment.