Approved. On 2010-05-05, at 17:50, André Bargull wrote:
> I'm going to commit this change ahead of review per our today's agreement. > > > Change 20100505-bargull-FY9 by barg...@bargull02 on 2010-05-05 23:41:38 > in /home/anba/src/svn/openlaszlo/trunk > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: example for script element does not work in AS3 > > Bugs Fixed: LPP-8969 (Reference: <script> example doesn't work in AS3) > > Doc Reviewer: ptw > > Details: > Two issues which broke compilation for AS3: > - missing 'var' in for-in loop (LPP-6684) > - missing 'var' for variables in <script> (also known bug/limitation) > > Changed the for-in loop to a normal for loop, because iteration over for-in > may cause issues with properties added to Array.prototype . > > Tests: > visual verify > > Files: > M WEB-INF/lps/lfc/views/LzScript.lzs > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/20100505-bargull-FY9.tar >
