Skip to content

Commit

Permalink
add a suppressUsageStatistics conf variable that turns off usage stat…
Browse files Browse the repository at this point in the history
…s if set true, references #105
  • Loading branch information
rbuels committed Jun 5, 2012
1 parent dec0d8d commit 0a15cb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/Browser.js
Expand Up @@ -246,6 +246,9 @@ Browser.prototype._initEventRouting = function() {
* length.
*/
Browser.prototype.reportUsageStats = function() {
if( this.config.suppressUsageStatistics )
return;

var stats = {
version: this.version || 'dev',
refSeqs: {
Expand Down

0 comments on commit 0a15cb4

Please sign in to comment.