Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

In the usage example, require loads from public/javascripts/ rather t…

…han public, as it is the standard Rails directory for js.
  • Loading branch information...
1 parent 3f2e450 commit e22902f5aad2cedef126bcdce490b5230a66171e @21croissants 21croissants committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rdoc
4 README.rdoc
@@ -36,12 +36,12 @@ Evergreen assumes a file and directory structure, place all your javascript
code inside ./public and all spec files inside ./spec/javascripts. All spec
files should end in _spec.js. For example:
- public/widget.js
+ public/javascripts/widget.js
You can require files from the public directory inside your spec file:
- require('/widget.js')
+ require('/javascripts/widget.js')
describe('a widget', function() {

0 comments on commit e22902f

Please sign in to comment.
Something went wrong with that request. Please try again.