You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tt-rss/lib/dojo/request/default.js.uncompressed.js

33 lines
575 B
JavaScript

define("dojo/request/default", [
'exports',
'require',
'../has'
], function(exports, require, has){
var defId = has('config-requestProvider'),
platformId;
if( 1 ){
platformId = './xhr';
}else if( 0 ){
platformId = './node';
/* TODO:
}else if( 0 ){
platformId = './rhino';
*/
}
if(!defId){
defId = platformId;
}
exports.getPlatformDefaultId = function(){
return platformId;
};
exports.load = function(id, parentRequire, loaded, config){
require([id == 'platform' ? platformId : defId], function(provider){
loaded(provider);
});
};
});