Tweaked the XMLVERSION kludge

This commit is contained in:
Jeff Parsons 2015-07-30 14:46:31 -07:00
commit a9229c6443
3 changed files with 10 additions and 10 deletions

View file

@ -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");