Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 609cdbe8b7d8
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7b223d43125d
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 11, 2015

  1. Copy the full SHA
    09abf67 View commit details
  2. Merge pull request #743 from vais/run_on_windows

    Make Opal sprockets path_reader work correctly on Windows
    elia committed Mar 11, 2015
    Copy the full SHA
    7b223d4 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/opal/sprockets/path_reader.rb
2 changes: 1 addition & 1 deletion lib/opal/sprockets/path_reader.rb
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ def read path
env[path, bundle: true].to_s
else
context.depend_on(path)
File.read(expand(path))
File.open(expand(path), 'rb:UTF-8'){|f| f.read}
end
rescue ::Sprockets::FileNotFound
nil