You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by jo...@apache.org on 2009/07/14 22:15:03 UTC
svn commit: r794053 -
/incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
Author: johnh
Date: Tue Jul 14 20:15:02 2009
New Revision: 794053
URL: http://svn.apache.org/viewvc?rev=794053&view=rev
Log:
Fixing IFPC references in rpc.js (rpctx.Ifpc -> rpctx.ifpc).
Modified:
incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
Modified: incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js?rev=794053&r1=794052&r2=794053&view=diff
==============================================================================
--- incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js (original)
+++ incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js Tue Jul 14 20:15:02 2009
@@ -85,7 +85,7 @@
// isGadget =~ isChild for the purposes of rpc (used only in setup).
var isGadget = (window.top !== window.self);
- var fallbackTransport = gadgets.rpctx.Ifpc;
+ var fallbackTransport = gadgets.rpctx.ifpc;
// Load the authentication token for speaking to the container
// from the gadget's parameters, or default to '0' if not found.
@@ -399,7 +399,7 @@
var useLegacy = !!configRpc.useLegacyProtocol;
useLegacyProtocol['..'] = useLegacy;
if (useLegacy) {
- transport = gadgets.rpctx.Ifpc;
+ transport = gadgets.rpctx.ifpc;
transport.init(process, transportReady);
}
@@ -486,7 +486,7 @@
*/
forceParentVerifiable: function() {
if (!transport.isParentVerifiable()) {
- transport = gadgets.rpctx.Ifpc;
+ transport = gadgets.rpctx.ifpc;
}
},
@@ -545,7 +545,7 @@
// If we are told to use the legacy format, then we must
// default to IFPC.
if (useLegacyProtocol[targetId]) {
- channel = gadgets.rpctx.Ifpc;
+ channel = gadgets.rpctx.ifpc;
}
if (channel.call(targetId, from, rpc) === false) {