You are way ahead of me on that count. I didn't even spot it until
you called attention. Certainly I agree -- why would we have a
different API from 4.0 to 4.2 if we can avoid it.
So, let's fix up the 4.0 version to match the 4.2.
On 2009-01-16, at 09:13EST, André Bargull wrote:
"...rest" arguments are not supported in 4.0.x, but I don't think
you should have a different function signature in 4.0.x compared to
4.2. So I'd expect that you'd use "Array.prototype.splice" and
friends to workaround that limitation.
Let's get some feedback from the TechReviewer and decide then on this.
Otherwise approved!
On 1/16/2009 10:41 AM, Max Carlson wrote:
Change 20090116-maxcarlson-X by [email protected] on 2009-01-16
01:34:50 PST
in /Users/maxcarlson/openlaszlo/pagan-deities
for http://svn.openlaszlo.org/openlaszlo/branches/pagan-deities
Summary: Merge and hand-integrate callJavascript() changes from trunk
Bugs Fixed: LPP-7595 - Provide a callMethod API on the html
component to call JavaScript methods in the iframe
Technical Reviewer: ptw
QA Reviewer: [email protected]
Doc Reviewer: (pending)
Details: Hand-merge r12497-12498 from trunk to pagan-deities/4.0.15
Tests: 'Call method' button in lps/components/extensions/test/
html.lzx and html-callmethod.lzx works across runtimes.
Files:
M .
M lps/components/extensions/test/html.lzx
A lps/components/extensions/test/html-test.html
A lps/components/extensions/test/html-callmethod.lzx
M lps/components/extensions/html.lzx
M lps/includes/source/iframemanager.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20090116-maxcarlson-X.tar