Question, what is the substring() in this line for?
if (ref.indexOf('get ') == 0) { ref = ref.substring(4); }
?
On Mon, Dec 13, 2010 at 4:52 AM, P T Withington <[email protected]> wrote:
> Change ptw-20101213-Caf by [email protected] on 2010-12-13 04:47:06 EST
> in /Users/ptw/OpenLaszlo/trunk-devo
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Warn when handler reference cannot be resolved
>
> Bugs Fixed: LPP-9576 handler when reference does not exist erroneously
> installs on self
>
> Technical Reviewer: [email protected] (pending)
> QA Reviewer: mdemmon (pending)
>
> Details:
> LzMessage: Noticed in passing, don't infinite loop if you append a
> message to itself.
>
> LzDebug: Need to test for Function separately
>
> LzNode: In debug mode, warn when you cannot resolve a handler
> reference. Don't install handlers whose references cannot be
> resolved.
>
> Tests:
> Test case from bug. Smokecheck, lztest, calendar, lzpix, amazon.
>
> Files:
> M WEB-INF/lps/lfc/debugger/LzMessage.lzs
> M WEB-INF/lps/lfc/debugger/platform/swf9/LzDebug.as
> M WEB-INF/lps/lfc/core/LzNode.lzs
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/ptw-20101213-Caf.tar
>
--
Henry Minsky
Software Architect
[email protected]