Tweaked the XMLVERSION kludge
This commit is contained in:
parent
269604d0b0
commit
a9229c6443
3 changed files with 10 additions and 10 deletions
|
|
@ -1242,9 +1242,9 @@ Computer.prototype.getComponentByType = function(sType, componentPrev)
|
|||
Computer.init = function()
|
||||
{
|
||||
/*
|
||||
* In DEBUG builds, embedMachine() may have set DEBUG_APPVERSION.
|
||||
* In non-COMPILED builds, embedMachine() may have set XMLVERSION.
|
||||
*/
|
||||
if (DEBUG && DEBUG_APPVERSION) Computer.sAppVer = DEBUG_APPVERSION;
|
||||
if (!COMPILED && XMLVERSION) Computer.sAppVer = XMLVERSION;
|
||||
|
||||
var aeMachines = Component.getElementsByClass(window.document, PCJSCLASS + "-machine");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue