[Laszlo-dev] For Review: Change 20071129-maxcarlson-T Summary: Fix embed-compressed.js to use proper Array iteration
Philip Romanik
promanik at laszlosystems.com
Thu Nov 29 15:33:07 PST 2007
Approved!
This page has a description of the issue: http://www.prototypejs.org/api/array
>Change 20071129-maxcarlson-T by maxcarlson at Roboto on 2007-11-29
>14:59:25 PST
> in /Users/maxcarlson/openlaszlo/trunk
> for
> <http://svn.openlaszlo.org/openlaszlo/trunk>http://svn.openlaszlo.org/openlaszlo/trunk
>
>Summary: Fix embed-compressed.js to use proper Array iteration
>
>New Features:
>
>Bugs Fixed: LPP-5170 - embed-compressed.js is incompatible with
>prototype.js/scriptaculous
>
>Technical Reviewer: promanik
>QA Reviewer: hminsky
>Doc Reviewer: (pending)
>
>Documentation:
>
>Release Notes:
>
>Details: Because prototype hacks Array, it's no longer safe to use
>
>for (i in array) {...}.
>
>Arrays must be iterated using the .length property instead.
>
>
>
>Tests: Try adding a method to Array.prototype and see where it goes
>wrong. Alternately, try embedding an OL app on a page that uses prototype.js.
>
>Files:
>M lps/includes/source/embednew.js
>
>Changeset:
><http://svn.openlaszlo.org/openlaszlo/patches/20071129-maxcarlson-T.tar>http://svn.openlaszlo.org/openlaszlo/patches/20071129-maxcarlson-T.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20071129/48b2ebd6/attachment.html
More information about the Laszlo-dev
mailing list