From daaede124399a6e1f4f72b42ff708e8fcae560fe Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Thu, 18 Jul 2013 21:42:34 +0200 Subject: [PATCH] strip supporting code for stacktrace from combined --- dygraph-utils.js | 4 ++++ 1 file changed, 4 insertions(+) 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')); } + // }; /** -- 2.7.4