Skip to content

Commit

Permalink
just do backtracing of main init handlers in production, does not hav…
Browse files Browse the repository at this point in the history
…e much of a performance penalty
  • Loading branch information
rbuels committed Jun 13, 2012
1 parent b7cbde6 commit 6c0b7cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/Browser.js
Expand Up @@ -52,10 +52,10 @@ var Browser = function(params) {
var browser = this;
dojo.addOnLoad( function() { browser.loadConfig(); } );

dojo.connect( this, 'onConfigLoaded', this, 'loadRefSeqs' );
dojo.connect( this, 'onConfigLoaded', this, 'loadNames' );
dojo.connect( this, 'onRefSeqsLoaded', this, 'initView' );
dojo.connect( this, 'onRefSeqsLoaded', this, 'reportUsageStats' );
dojo.connect( this, 'onConfigLoaded', Util.debugHandler( this, 'loadRefSeqs' ));
dojo.connect( this, 'onConfigLoaded', Util.debugHandler( this, 'loadNames' ));
dojo.connect( this, 'onRefSeqsLoaded', Util.debugHandler( this, 'initView' ));
dojo.connect( this, 'onRefSeqsLoaded', Util.debugHandler( this, 'reportUsageStats' ));
};

/**
Expand Down

0 comments on commit 6c0b7cd

Please sign in to comment.