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