From: Dan Vanderkam Date: Thu, 18 Jul 2013 19:42:34 +0000 (+0200) Subject: strip supporting code for stacktrace from combined X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=daaede124399a6e1f4f72b42ff708e8fcae560fe;p=dygraphs.git strip supporting code for stacktrace from combined --- diff --git a/dygraph-utils.js b/dygraph-utils.js index 1ec1795..e2e8391 100644 --- a/dygraph-utils.js +++ b/dygraph-utils.js @@ -53,6 +53,7 @@ Dygraph.DOT_DASH_LINE = [7, 2, 2, 2]; * @private */ Dygraph.log = function(severity, message) { + // var st; if (typeof(printStackTrace) != 'undefined') { try { @@ -74,6 +75,7 @@ Dygraph.log = function(severity, message) { // Oh well, it was worth a shot! } } + // if (typeof(window.console) != 'undefined') { // In older versions of Firefox, only console.log is defined. @@ -102,9 +104,11 @@ Dygraph.log = function(severity, message) { } } + // if (Dygraph.LOG_STACK_TRACES) { window.console.log(st.join('\n')); } + // }; /**