Reviewers: plindner1, mhermanto, felix8a,

Description:
* revert osapi.* properties to quoted string lookups to prevent
jscompiler from rewriting them.

Please review this at http://codereview.appspot.com/4553046/

Affected files:
  M     features/src/main/javascript/features/osapi.base/osapi.js


Index: features/src/main/javascript/features/osapi.base/osapi.js
===================================================================
--- features/src/main/javascript/features/osapi.base/osapi.js (revision 1124455)
+++ features/src/main/javascript/features/osapi.base/osapi.js   (working copy)
@@ -63,9 +63,9 @@
 // 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