[Laszlo-checkins] r12823 - openlaszlo/trunk/lps/components/rpc/library
hqm@openlaszlo.org
hqm at openlaszlo.org
Wed Feb 11 06:46:49 PST 2009
Author: hqm
Date: 2009-02-11 06:46:48 -0800 (Wed, 11 Feb 2009)
New Revision: 12823
Modified:
openlaszlo/trunk/lps/components/rpc/library/rpc.js
Log:
Change 20090211-hqm-H by hqm at badtzmaru.home on 2009-02-11 09:44:53 EST
in /Users/hqm/openlaszlo/trunk4
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix to make RPC code compile in swf9
New Features:
Bugs Fixed:
Technical Reviewer: hqm
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
+ The DoubleWrapper method needs to be declared static in a passthrough for swf9
Tests:
rpc compiles in swf9
Modified: openlaszlo/trunk/lps/components/rpc/library/rpc.js
===================================================================
--- openlaszlo/trunk/lps/components/rpc/library/rpc.js 2009-02-11 14:28:22 UTC (rev 12822)
+++ openlaszlo/trunk/lps/components/rpc/library/rpc.js 2009-02-11 14:46:48 UTC (rev 12823)
@@ -7,7 +7,7 @@
/* LZ_COPYRIGHT_BEGIN */
/****************************************************************************
- * Copyright (c) 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
+ * Copyright (c) 2001-2009 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms *
****************************************************************************/
/* LZ_COPYRIGHT_END */
@@ -35,10 +35,14 @@
//------------------------------------------------------------------------------
// @param Number num: number to pass down to explicitly cast to a double
//------------------------------------------------------------------------------
-static function DoubleWrapper (num) {
- return new LzRPCDoubleWrapper(num);
-}
+
+ #passthrough {
+ static function DoubleWrapper (num) {
+ return new LzRPCDoubleWrapper(num);
+ };
+ }#
+
//------------------------------------------------------------
// Global RPC sequence number for server requests.
//------------------------------------------------------------
More information about the Laszlo-checkins
mailing list