/* 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");