Approved!

This page has a description of the issue: http://www.prototypejs.org/api/array



Change 20071129-maxcarlson-T by [EMAIL PROTECTED] 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

Reply via email to