[Laszlo-checkins] r8124 - openlaszlo/trunk/WEB-INF/lps/lfc/core
hqm@openlaszlo.org
hqm at openlaszlo.org
Thu Feb 28 04:16:30 PST 2008
Author: hqm
Date: 2008-02-28 04:16:27 -0800 (Thu, 28 Feb 2008)
New Revision: 8124
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs
Log:
Change 20080228-hqm-Q by hqm at badtzmaru.local on 2008-02-28 07:15:34 EST
in /Users/hqm/openlaszlo/trunk/WEB-INF/lps/lfc
for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc
Summary: fix for sourcelocators table
New Features:
Bugs Fixed:
Technical Reviewer: pbr
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
The sourceLocatorTable declaration was mistranslated when the code
was turned into JS2 classes, it should have
been a static class var.
Tests:
SOLO DHTML deploy works with compiler flag of sourcelocators=true
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs 2008-02-27 23:35:33 UTC (rev 8123)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs 2008-02-28 12:16:27 UTC (rev 8124)
@@ -477,7 +477,7 @@
/** The source locator table maps source locations to nodes
* @access private
*/
- var sourceLocatorTable = {};
+ static var sourceLocatorTable = {};
/**
* Translate a source locator to the corresponding node
@@ -486,7 +486,7 @@
* the source locator is unknown
*/
function lookupSourceLocator (sourceLocator) {
- return this.sourceLocatorTable[sourceLocator];
+ return LzNode.sourceLocatorTable[sourceLocator];
}
}
More information about the Laszlo-checkins
mailing list