Author: lindner
Date: Tue May 18 17:15:58 2010
New Revision: 945762

URL: http://svn.apache.org/viewvc?rev=945762&view=rev
Log:
Revert "explicitly return false"

This reverts commit 70661b894a8554e67f3db5ff1e04bd93d150667c.

Modified:
    shindig/trunk/content/container/sample-pubsub.html

Modified: shindig/trunk/content/container/sample-pubsub.html
URL: 
http://svn.apache.org/viewvc/shindig/trunk/content/container/sample-pubsub.html?rev=945762&r1=945761&r2=945762&view=diff
==============================================================================
--- shindig/trunk/content/container/sample-pubsub.html (original)
+++ shindig/trunk/content/container/sample-pubsub.html Tue May 18 17:15:58 2010
@@ -50,30 +50,25 @@ my.init = function() {
     onSubscribe: function(sender, channel) {
       log(sender + " subscribes to channel '" + channel + "'");
       // return true to reject the request.
-      return false;
     },
     onUnsubscribe: function(sender, channel) {
       log(sender + " unsubscribes from channel '" + channel + "'");
       // return true to reject the request.
-      return false;
     },
     onPublish: function(sender, channel, message) {
       log(sender + " publishes '" + message + "' to channel '" + channel + 
"'");
       // return true to reject the request.
-      return false;
     }
   });
   shindig.container.layoutManager = new my.LayoutManager();
 };
 
 my.renderGadgets = function() {
-  shindig.container.setParentUrl("http://localhost:8080/";);
   for (var i = 0; i < my.gadgetSpecUrls.length; ++i) {
     var gadget = shindig.container.createGadget(
-        {debug:1,specUrl: my.gadgetSpecUrls[i], title: (i ? "Subscriber" : 
"Publisher")});
+        {specUrl: my.gadgetSpecUrls[i], title: (i ? "Subscriber" : 
"Publisher")});
     shindig.container.addGadget(gadget);
     shindig.container.renderGadget(gadget);
-   
   }
 };
 


Reply via email to