var window = exports;

window.window           = window;

window.DOMParser        = require("xmldom").DOMParser;

window.XMLHttpRequest   = require("xmlhttprequest").XMLHttpRequest;

window.alert            = function() { console.log.apply(null, arguments); }
window.prompt           = function() { console.log(null, arguments); return ""; }
window.confirm          = function() { console.log(null, arguments); return true; }

window.Image            = function() {};
var window = exports;

window.window           = window;

window.DOMParser        = require("xmldom").DOMParser;

window.XMLHttpRequest   = require("xmlhttprequest-ssl").XMLHttpRequest;

window.alert            = function() { console.log.apply(null, arguments); }
window.prompt           = function() { console.log(null, arguments); return ""; }
window.confirm          = function() { console.log(null, arguments); return true; }

window.Image            = function() {};
Use new name for XMLHTTPRequest module as we now use another module
Fixed: Use new name for XMLHTTPRequest module as we now use another module
