9 lines
193 B
TypeScript
9 lines
193 B
TypeScript
'use strict';
|
|
|
|
try {
|
|
module.exports.XMLHttpRequest = XMLHttpRequest;
|
|
} catch(error) {
|
|
console.log('Warning: XMLHttpRequest is not defined');
|
|
module.exports.XMLHttpRequest = null;
|
|
}
|