11 lines
227 B
TypeScript
11 lines
227 B
TypeScript
'use strict';
|
|
|
|
try {
|
|
module.exports.XMLHttpRequest = XMLHttpRequest;
|
|
} catch(error) {
|
|
console.log('Warning: XMLHttpRequest is not defined');
|
|
module.exports.XMLHttpRequest = null;
|
|
}
|
|
|
|
export const _empty: any = null;
|