Merge pull request #200 from kberg/resize-handler
[dygraphs.git] / dygraph.js
index 1a523b1..43d3011 100644 (file)
@@ -2364,9 +2364,7 @@ Dygraph.prototype.drawGraph_ = function() {
 
   if (this.attr_("timingName")) {
     var end = new Date();
-    if (console) {
-      console.log(this.attr_("timingName") + " - drawGraph: " + (end - start) + "ms");
-    }
+    Dygraph.info(this.attr_("timingName") + " - drawGraph: " + (end - start) + "ms");
   }
 };