[Laszlo-dev] For Review: Change 20080203-ptw-p Summary: Make handler reference functions be methods
P T Withington
ptw at pobox.com
Sun Feb 3 12:50:36 PST 2008
Change 20080203-ptw-p by ptw at dueling-banjos.local on 2008-02-03
11:50:17 EST
in /Users/ptw/OpenLaszlo/ringding-2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Make handler reference functions be methods
Bugs Fixed:
LPP-1587 'ECMA4: Compile LZX declarations as JS declarations' (partial)
Technical Reviewer: dda at openlaszlo.org (pending)
QA Reviewer: henry.minsky at gmail.com (pending)
Details:
LzNode: The 3rd element of a delegate is now the _name_ of the
method that computes the sender, not a function.
NodeModel: Centralize the computation of delegates into a single
subroutine shared by addHandlerElement, addHandlerFromAttribute,
and (for backwards compatibility) addMethodElement. Warn that
defining handlers using the method event property is deprecated.
Tests:
smokecheck, amazon X swf, dhtml
Files:
M WEB-INF/lps/lfc/core/LzNode.lzs
M WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080203-ptw-p.tar
More information about the Laszlo-dev
mailing list