You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by do...@apache.org on 2008/02/22 04:26:20 UTC

svn commit: r630080 - /incubator/shindig/trunk/features/opensocial-0.7/jsoncontainer.js

Author: doll
Date: Thu Feb 21 19:26:18 2008
New Revision: 630080

URL: http://svn.apache.org/viewvc?rev=630080&view=rev
Log:
Created a simple environment in order to pass more compliance tests.


Modified:
    incubator/shindig/trunk/features/opensocial-0.7/jsoncontainer.js

Modified: incubator/shindig/trunk/features/opensocial-0.7/jsoncontainer.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-0.7/jsoncontainer.js?rev=630080&r1=630079&r2=630080&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-0.7/jsoncontainer.js (original)
+++ incubator/shindig/trunk/features/opensocial-0.7/jsoncontainer.js Thu Feb 21 19:26:18 2008
@@ -23,6 +23,11 @@
 
 JsonContainer = function() {
   opensocial.Container.call(this);
+
+  var supportedFields = {};
+  supportedFields["person"] = {"id" : true, "name" : true};
+  supportedFields["activity"] = {}; // TODO: Support acitvities
+  this.environment_ = new opensocial.Environment("shindig", supportedFields);
 };
 JsonContainer.inherits(opensocial.Container);