Skip to content

Commit

Permalink
#205 client.js magic constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsolt Lattmann committed Mar 11, 2015
1 parent 84a00f0 commit d29ce69
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions src/client/js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,20 +212,10 @@ define([
//default configuration
//FIXME: Are these gme options or not??
_configuration = _configuration || {};
_configuration.autoreconnect = true;
_configuration.reconndelay = 1000;
_configuration.reconnamount = 1000;
_configuration.autostart = false;

//if( typeof GME !== 'undefined'){
// GME.config = GME.config || {};
// GME.config.keyType = _configuration.storageKeyType;
//}
//
//if( typeof WebGMEGlobal !== 'undefined'){
// WebGMEGlobal.config = WebGMEGlobal.config || {};
// WebGMEGlobal.config.keyType = _configuration.storageKeyType;
//}
_configuration.autoreconnect = true; // MAGIC NUMBERS
_configuration.reconndelay = 1000; // MAGIC NUMBERS
_configuration.reconnamount = 1000; // MAGIC NUMBERS
_configuration.autostart = false; // MAGIC NUMBERS

//TODO remove the usage of jquery
//$.extend(_self, new EventDispatcher());
Expand Down

0 comments on commit d29ce69

Please sign in to comment.