SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
855 B

/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.hostenv.name_="wsh";
if(typeof WScript=="undefined"){
dojo.raise("attempt to use WSH host environment when no WScript global");
}
dojo.hostenv.println=WScript.Echo;
dojo.hostenv.getCurrentScriptUri=function(){
return WScript.ScriptFullName();
};
dojo.hostenv.getText=function(_1){
var _2=new ActiveXObject("Scripting.FileSystemObject");
var _3=_2.OpenTextFile(_1,1);
if(!_3){
return null;
}
var _4=_3.ReadAll();
_3.Close();
return _4;
};
dojo.hostenv.exit=function(_5){
WScript.Quit(_5);
};
dojo.requireIf((djConfig["isDebug"]||djConfig["debugAtAllCosts"]),"dojo.debug");