Permalink
Browse files

removed Wookie-specific code from generic client js

  • Loading branch information...
1 parent 9d5ac45 commit 7fce12fdd12255103402eb95c4dfb61ac5a0a6e9 @scottbw committed Apr 12, 2012
Showing with 1 addition and 10 deletions.
  1. +1 −10 client/wave.js
View
11 client/wave.js
@@ -111,16 +111,7 @@
// Initialize the wave client
//
this.init = function(){
- // Automatically set the Viewer and Shared Data Key if we're in a Wookie context
- if (window.Widget) {
- if (Widget.preferences) {
- wave.setSharedDataKey(Widget.preferences.sharedDataKey);
- if (Widget.preferences.viewer){
- wave.__setViewer(JSON.parse(Widget.preferences.viewer));
- }
- }
- }
-
+
// Setup websockets
this.socket = io.connect("http://localhost:8081");

0 comments on commit 7fce12f

Please sign in to comment.