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-rails
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1b1f92a3a126
Choose a base ref
...
head repository: opal/opal-rails
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7ff3de22da0d
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 15, 2015

  1. Fix application.js.rb path in README

    The application.js/application.js.rb file path shown in the README is
    incorrect.  Fix by including the javascripts directory in the path.
    ruralocity committed Mar 15, 2015
    Copy the full SHA
    0762fa8 View commit details
  2. Merge pull request #42 from ruralocity/master

    Fix application.js.rb path in README
    elia committed Mar 15, 2015
    Copy the full SHA
    7ff3de2 View commit details
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -55,13 +55,13 @@ Now ships with a patch to sprockets cache key to include processor version that

### Asset Pipeline

You can rename `app/assets/application.js` to `application.js.rb`. Even if not necessary, it is recommended to change Sprockets' `//= require` statements to Ruby' `require` methods.
You can rename `app/assets/javascripts/application.js` to `application.js.rb`. Even if not necessary, it is recommended to change Sprockets' `//= require` statements to Ruby' `require` methods.
Sprockets' `//= require` statements won't be known by the opal builder and therefore you can end up adding something twice.

Both of the following examples would work:

```js
# app/assets/application.js.rb
# app/assets/javascripts/application.js.rb

//= require opal
//= require opal_ujs
@@ -70,7 +70,7 @@ Both of the following examples would work:
```

```ruby
# app/assets/application.js.rb
# app/assets/javascripts/application.js.rb

require 'opal'
require 'opal_ujs'