TypeScript/tests/webhost/wscript.js

23 lines
501 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
var RealActiveXObject = ActiveXObject
var WScript;
(function (WScript) {
WScript.Arguments = [];
WScript.Echo = function (str) { };
WScript.StdErr = {
Write: function() {}
}
WScript.StdOut = {
Write: function () { },
WriteLine: function () { }
}
WScript.Quit = function (exitCode) { }
})(WScript || (WScript = {}));
var ActiveXObject = (function () {
function ActiveXObject(name) {
}
return ActiveXObject;
})();