requirejs-text now uses CORS XHR requests to static files
This commit is contained in:
parent
6126f0ec6f
commit
05c8b571e2
@ -3,5 +3,13 @@ var requirejs = {
|
|||||||
q: "components/q/q",
|
q: "components/q/q",
|
||||||
text : "components/requirejs-text/text",
|
text : "components/requirejs-text/text",
|
||||||
ready: "components/requirejs-domready/domReady"
|
ready: "components/requirejs-domready/domReady"
|
||||||
|
},
|
||||||
|
|
||||||
|
config: {
|
||||||
|
text: {
|
||||||
|
useXhr: function (url, protocol, hostname, port) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user