This works. God, you're clever! On Apr 24, 2006, at 5:32 PM, P T Withington wrote:
> Change 41780 by [EMAIL PROTECTED] on 2006/04/24 17:28:27 > > Summary: Simplify debug warning mechanism, prepare for more warnings > > Technical Reviewer: ben (pending) > QA Reviewer: hminsky (pending) > Doc Reviewer: n/a (pending) > > Details: > > LzRuntime, kernel.js: Protect against errors trying to output > to the debug window. If you get an error and there is a print > method that takes arguments, assume you are in Rhino and use > that instead. Add support for dhtml warnings. > > LzFormat: Remove dependancy on addHTML. > > JavascriptGenerator: Don't check undefined for know Javascript > globals or for globals that are defined by the program. > Simplify the undefined checker. Add stubs for checking > property access, function, and method calls (not yet active). > > Tests: smoke/simple.lzx runlzunit-rhino > > Affected files ... > > ... //depot/lps-legals/WEB-INF/lps/lfc/compiler/LzRuntime.lzs#4 edit > ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzFormat.lzs#4 edit > ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/kernel.js#4 edit > ... //depot/lps-legals/WEB-INF/lps/server/src/org/openlaszlo/sc/ > JavascriptGenerator.java#17 edit > benjamin shine software engineer [EMAIL PROTECTED] _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
