I am using Rails 3.2, it is configured for coffeescript. I know that Coffeescript is a terrific language and not so difficult to learn, but I'm just starting to hug Javascript and jQuery. So my question is this: is there an easy way to install rails 3.2 to use Javascript instead? At the moment, my jQuery is in tags <script></script>in my view (timeline / index.html.erb). I would like to move it to a .js file. I tried changing the name of my timeline.js.coffee only to timeline.js and put jQuery there, but I get Uncaught SyntaxError: Unexpected token ILLEGAL.
What should I do besides the obvious answer "learn coffeescript"?
source
share