Author: doll
Date: Thu Mar  6 05:28:07 2008
New Revision: 634265

URL: http://svn.apache.org/viewvc?rev=634265&view=rev
Log:
Changed the default Shindig syndicator to be a little more real. Most 
containers don't actually have a "default" view, they instead have a profile or 
dashboard view which is the default. So now default is just an alias of 
profile. 

As a side effect, this also meant I had to get rid of the requiredConfig.


Modified:
    incubator/shindig/trunk/config/syndicator.js
    incubator/shindig/trunk/features/views/views.js

Modified: incubator/shindig/trunk/config/syndicator.js
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/config/syndicator.js?rev=634265&r1=634264&r2=634265&view=diff
==============================================================================
--- incubator/shindig/trunk/config/syndicator.js (original)
+++ incubator/shindig/trunk/config/syndicator.js Thu Mar  6 05:28:07 2008
@@ -56,12 +56,9 @@
     "jsonProxyUrl" : "proxy?output=js"
   },
   "views" : {
-    "default" : {
-      "isOnlyVisible" : false,
-      "aliases": ["DASHBOARD"]
-    },
     "profile" : {
-      "isOnlyVisible" : false
+      "isOnlyVisible" : false,
+      "aliases": ["DASHBOARD", "default"]
     },
     "canvas" : {
       "isOnlyVisible" : true,

Modified: incubator/shindig/trunk/features/views/views.js
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/views/views.js?rev=634265&r1=634264&r2=634265&view=diff
==============================================================================
--- incubator/shindig/trunk/features/views/views.js (original)
+++ incubator/shindig/trunk/features/views/views.js Thu Mar  6 05:28:07 2008
@@ -78,13 +78,7 @@
     currentView = supportedViews[urlParams.view] || supportedViews["default"];
   }
 
-  var requiredConfig = {
-    "default": new gadgets.config.LikeValidator({
-      "isOnlyVisible" : gadgets.config.BooleanValidator
-    })
-  };
-
-  gadgets.config.register("views", requiredConfig, init);
+  gadgets.config.register("views", null, init);
 
   return {
     /**


Reply via email to