requirejs-rails
requirejs-rails copied to clipboard
RequireJS support for your Rails 3 or 4 application
To support Angular.JS one has to prevent uglifier destroying the function arguments for dependency injection. One solution is to convert those arguments into a different uglier syntax that will prevail...
This resulted in not working shims both for run time and build time This fixes issue #197 (which was improperly closed beforehand)
Ash has the following configuration in `requirejs.yml`: ``` yaml modules: - name: 'pokemons' - name: 'pikachu' - name: 'charizard' paths: pikachi: 'monsters/pikachu' cahrizard: 'monsters/charizard' ``` Ash runs the `assets:precompile` task...
According to the RequireJS docs there is a build option called 'wrapShim', but I couldn't find any reference to wrap. https://github.com/jrburke/r.js/blob/b8a6982d2923ae8389355edaa50d2b7f8065a01a/build/example.build.js#L68
Some RequireJS config options such as init need a function, however YAML and JSON can only store data - not JavaScript. As a workaround this detects a function and unescapes...
I am trying to use requirejs-rails in my rails project and I am running into problems with it. I have added the gem and ran `bundle install`, but I am...
Hi. I just upgraded to 0.9.9 and I'm getting this error during precompilation of assets: ``` uninitialized constant Sprockets::DigestUtils ``` This is because `Sprockets::DigestUtils` is only available in sprockets 3.0+,...
This fixes compatibility with Rails 3, introduced by 1efba0ead7d0c340f4e33130f5bc4bf911673b1c. Rails 3 doesn't provide Rails::Application `configure` instance method.
As I know, `priority` is useless if you use requirejs >= 2.0. Why do you include it in the configuration?
Did mess up with some parameter? Cause when i boot rails server on development mode, the coffee script seem compile every time, which is really time-consuming cause i have lots...