text.js revision 1d407e39b7d8f68d9a2b1e178f35fab037d9835a
153N/A * @license RequireJS text 2.0.14 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
153N/A * see: http://github.com/requirejs/text for details
153N/A masterConfig = (module.config && module.config()) || {};
153N/A return new XMLHttpRequest();
if (xhr) {
return xhr;
strip = false,
if (ext) {
xdRegExp: /^((\w+)\:)?\/\/([^\/\\]+)/,
if (!match) {
onLoad();
onLoad();
}, function (err) {
content +
}, config);
//Using special require.nodeRequire, something added by r.js.
if (errback) {
errback(e);
if (headers) {
if (errback) {
input = new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(file), encoding)),
// Note that when we use utf-8, the BOM should appear as "EF BB BF", but it doesn't due to this bug in the JDK:
if (line !== null) {
readData = {};
if (xpcIsWindows) {
return text;