jwhitley / requirejs-rails

RequireJS support for your Rails 3 or 4 application
MIT License
592 stars 202 forks source link

r.js failing with cdn script #203

Open rmdydo opened 9 years ago

rmdydo commented 9 years ago

I am getting an error with cdn assets when precompiling. It appears to be caused by ".js" being appended to the end of the "empty:" path for cdn scripts which can be seen here: https://gist.github.com/rmdydo/dea9cab02ec67cdde6ae. The weird part is that the generated rjs_driver.js is correctly listing the cdn paths as "empty:" so somewhere along the line the ".js" is being added. Here is the generated driver: https://gist.github.com/rmdydo/7889626675b26790b6e1. The cdn hosted files are "filepicker", "aviary","facebook","windowslive". Thanks

zreitano commented 9 years ago

Did you ever solve this? Currently running into same issue with FB.

rmdydo commented 9 years ago

Nope, I ended up just locally hosting the cdn files.

zreitano commented 9 years ago

Same here. Thanks for the quick reply.

Best, Zachariah

On Dec 31, 2014, at 1:36 PM, rmdydo notifications@github.com wrote:

Nope, I ended up just locally hosting the cdn files.

— Reply to this email directly or view it on GitHub.