1c3c826ada
This commit removes yet another dependency. The provided domready function is compatible with IE9, Firefox and Safari/Chrome. Inspired by: * http://stackoverflow.com/a/15580098 * https://github.com/requirejs/domReady/blob/master/domReady.js
14 lines
243 B
JavaScript
14 lines
243 B
JavaScript
var requirejs = {
|
|
paths: {
|
|
text : "components/requirejs-text/text",
|
|
},
|
|
|
|
config: {
|
|
text: {
|
|
useXhr: function (url, protocol, hostname, port) {
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
};
|