[Laszlo-checkins] r11687 - in openlaszlo/trunk/WEB-INF/lps/lfc: compiler data

max@openlaszlo.org max at openlaszlo.org
Mon Nov 3 15:39:54 PST 2008


Author: max
Date: 2008-11-03 15:39:53 -0800 (Mon, 03 Nov 2008)
New Revision: 11687

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzRuntime.lzs
   openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDatapointer.lzs
Log:
Change 20081103-maxcarlson-t by maxcarlson at Bank on 2008-11-03 12:38:46 PST
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Clean up global declaration of _root

Bugs Fixed: LPP-7293 - Remove global _root declarations

Technical Reviewer: ptw
QA Reviewer: promanik
Doc Reviewer: (pending)

Details: LzDatapointer.lzx - Comment out as2-specific include of old data compiler globals

LzRuntime.lzs - Remove global declaration of _root

Tests: smokecheck, ant lztest, components sampler



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzRuntime.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzRuntime.lzs	2008-11-03 20:51:21 UTC (rev 11686)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzRuntime.lzs	2008-11-03 23:39:53 UTC (rev 11687)
@@ -9,16 +9,7 @@
   * @subtopic Runtime
   */
 
-if ($swf9) {
-} else { 
 /**
-  * DHTML/SWF compatibility
-  *
-  * @todo 2006-04-07 ptw Remove when _root is eradicated from .lzs
-  */
-window._root = window;
-}
-/**
  * Modules
  * TODO [2006-03-12 ptw] if the LFC is shared this needs to be multiplexed
  */

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDatapointer.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDatapointer.lzs	2008-11-03 20:51:21 UTC (rev 11686)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDatapointer.lzs	2008-11-03 23:39:53 UTC (rev 11687)
@@ -1274,6 +1274,7 @@
     return tn;
 }
 
+/* commenting out for now
 if ($as2) {
 // FIXME: [2006-03-22 ptw] (LPP-1867) 
 // These are short aliases for routines used by the old data compiler.
@@ -1285,6 +1286,7 @@
 _root._m = prototype.makeElementNode;
 _root._t = prototype.makeTextNode;
 }
+*/
 
 ////////////////////////////////////////////////////////////////
 



More information about the Laszlo-checkins mailing list