Allow option to set crossorigin attribute on script tags
To access the error message on window.onerror when loading js files from a different domain, the crossorigin attribute has to be set on the script tags (+ headers "Access-Control-Allow-Origin" on the cdn naturally).
This only works in ff, but i think its coming in chrome soon as well.
i think i'll hold shortly on this until support is more widely adopted
crossorigin script attribute is available in chrome 30m, which is the current stable release: https://code.google.com/p/chromium/issues/detail?id=159566
see also https://github.com/jrburke/requirejs/issues/687
:+1: for this one... Without this option, it's impossible to use tools like Bugsnag or Newrelic Browser to debug JavaScript errors.
Agreed. Impossible to use raygun.io as well.
I need this for Bugsnag as well. @ded If you're buying in, I could try to find time to make a PR.