Dependency Management Got Awesome CommonJS and AMD Compliant dependency loader for modern web apps

Inject.setCrossDomain

0.6.x

OLD: This is an old version of documentation. You probably want the most recent version of this document, from the sidebar on the right.
Inject.setCrossDomain({
  relayFile: 'http://example.cdn.com/relay.html'
});

When running Inject on multiple domains, you need to specify the path to an HTML file located on the remote server. This file enables remote downloading in a CORS-like implementation, while still supporting older browsers.

comments powered by Disqus