You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by pa...@gmail.com on 2009/03/27 10:57:29 UTC

IE7 bug in Javascript

Reviewers: etnu, panjie,

Description:
var someObject = {
   a: 1,
   b: 2,
};
IE7 doesn't support such code. I removed ',' before '}'.

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

Affected files:
   features/src/main/javascript/features/opensocial-reference/container.js


Index:  
features/src/main/javascript/features/opensocial-reference/container.js
===================================================================
--- features/src/main/javascript/features/opensocial-reference/container.js	 
(revision 759071)
+++ features/src/main/javascript/features/opensocial-reference/container.js	 
(working copy)
@@ -563,7 +563,7 @@
  	return orig.call(this, swfUrl, swfContainer.node___, swfVersion,
  			 opt_params);
        });
-    },
+    }
    },

    MiniMessage: function($vs) {
@@ -620,7 +620,7 @@
  	}),
  	send: ___.frozenFunc(function(callback) {
  	  return this.super_.send(tameCallback($v, callback));
-	}),
+	})
        };
        return dr;
      }
@@ -656,7 +656,7 @@
        return function tamedRegisterOnLoadHandler(callback) {
          orig(tameCallback($v, callback));
        };
-    },
+    }
    },

    views: {
@@ -670,7 +670,7 @@
  	return view;
        }
      }
-  },
+  }
  };

  /**
@@ -759,7 +759,7 @@
          m_getNameContainer: 0
        },
        c_TabSet: {
-        m_addTab: 0,
+        m_addTab: 0
  //        m_alignTabs: 0,
  //        m_displayTabs: 0,
  //        m_getHeaderContainer: 0,