Author: jasvir
Date: Thu May 19 00:41:47 2011
New Revision: 1124480

URL: http://svn.apache.org/viewvc?rev=1124480&view=rev
Log:
Description
* revert osapi.* properties to quoted string lookups to prevent jscompiler from
rewriting them.


Modified:
    shindig/trunk/features/src/main/javascript/features/osapi.base/osapi.js

Modified: 
shindig/trunk/features/src/main/javascript/features/osapi.base/osapi.js
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/osapi.base/osapi.js?rev=1124480&r1=1124479&r2=1124480&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/osapi.base/osapi.js 
(original)
+++ shindig/trunk/features/src/main/javascript/features/osapi.base/osapi.js Thu 
May 19 00:41:47 2011
@@ -63,9 +63,9 @@ osapi._registerMethod = function(method,
 // bug: http://code.google.com/p/google-caja/issues/detail?id=1355
 // Workaround is to make it a class.
 osapi._BoundCall = function(method, transport, rpc) {
-  this.method = method;
-  this.transport = transport;
-  this.rpc = rpc;
+  this['method'] = method;
+  this['transport'] = transport;
+  this['rpc'] = rpc;
 };
 
 osapi._BoundCall.prototype.execute = function(callback) {


Reply via email to