use Dygraph.log in dygraphs.js
authorDan Vanderkam <danvk@google.com>
Fri, 25 Jan 2013 21:22:55 +0000 (16:22 -0500)
committerDan Vanderkam <danvk@google.com>
Fri, 25 Jan 2013 21:22:55 +0000 (16:22 -0500)
dygraph.js

index ecbbca7..929cd10 100644 (file)
@@ -2358,9 +2358,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");
   }
 };