11 lines
263 B
JavaScript
11 lines
263 B
JavaScript
|
'use strict';
|
||
|
|
||
|
try {
|
||
|
console.log('Starting load xml')
|
||
|
module.exports.XMLHttpRequest = XMLHttpRequest;
|
||
|
console.log('Done load xml')
|
||
|
} catch(error) {
|
||
|
console.log('Warning: XMLHttpRequest is not defined');
|
||
|
module.exports.XMLHttpRequest = null;
|
||
|
}
|