requirejs-rails-jasmine-template
requirejs-rails-jasmine-template copied to clipboard
A step-by-step guide and experimental integration of jasmine-gem and requirejs-rails.
Actually it's giving a javascript exception (define is not defined). requirejs is not being loaded. It seems that the .rb helper file and the run.html.erb is not being consider, whatever...
The priority config was used to avoid some load-timing issues with require.js, but that's a hacky approach and priority is deprecated in [RequireJS 2.0](https://github.com/jrburke/requirejs/wiki/Requirejs-2.0-draft). We'll have to generate a main.js.erb...
I am try to use `render` helper: ` "index/templates_js" %>` But got an error: `undefined method 'render' for #` In this file I have a `` tags with templates, using...
I'm having some trouble getting this to work. All I have is a sanity check spec (a javascript version of your coffeescript example) ``` javascript define(function(require) { var PlaylistModel; PlaylistModel...