[Laszlo-dev] For Review: Change 20071129-maxcarlson-T Summary: Fix embed-compressed.js to use proper Array iteration
Max Carlson
max at openlaszlo.org
Thu Nov 29 15:02:24 PST 2007
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
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
More information about the Laszlo-dev
mailing list