jwhitley / requirejs-rails

RequireJS support for your Rails 3 or 4 application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

r.js failing with cdn script

rmdydo opened this issue · comments

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

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

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

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.