requirejs-rails icon indicating copy to clipboard operation
requirejs-rails copied to clipboard

requirejs_include doesn't work with subdirectories

Open axsuul opened this issue 12 years ago • 2 comments

Something like

requirejs_include "backbone/main"

gives an error that it can't find path/to/assets/main.js instead of /path/to/assets/backbone/main.js. Is this a bug? The file to be compiled is located at app/assets/javascripts/backbone/main.js.coffee.

axsuul avatar Oct 18 '12 05:10 axsuul

Just noticed this behavior as well, unfortunately a dealbreaker for me due to having various modules/namespaces in our app.

dpehrson avatar Nov 18 '12 21:11 dpehrson

This definitely seems like a bug. I'll review further.

jwhitley avatar Mar 09 '13 01:03 jwhitley