isso/isso/js/config.js
Martin Zimmermann 1c3c826ada replace requirejs-domready with a (self-made) HTML5 idiom, #51
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
2014-02-03 10:54:54 +01:00

14 lines
243 B
JavaScript

var requirejs = {
paths: {
text : "components/requirejs-text/text",
},
config: {
text: {
useXhr: function (url, protocol, hostname, port) {
return true;
}
}
}
};