Merge pull request #586 from aldendaniels/patch-1
[dygraphs.git] / src / dygraph.js
index df6baf9..878a747 100644 (file)
@@ -3747,6 +3747,10 @@ Dygraph.addAnnotationRule = function() {
   console.warn("Unable to add default annotation CSS rule; display may be off.");
 };
 
+if (typeof exports === "object" && typeof module !== "undefined") {
+  module.exports = Dygraph;
+}
+
 return Dygraph;
 
 })();