projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
255dae1
)
Export Dygraph
author
aldendaniels
<alden@aldendaniels.me>
Mon, 20 Apr 2015 17:10:16 +0000
(12:10 -0500)
committer
aldendaniels
<alden@aldendaniels.me>
Mon, 20 Apr 2015 17:10:16 +0000
(12:10 -0500)
src/dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/src/dygraph.js
b/src/dygraph.js
index
df6baf9
..
1e4d2dd
100644
(file)
--- a/
src/dygraph.js
+++ b/
src/dygraph.js
@@
-3747,6
+3747,10
@@
Dygraph.addAnnotationRule = function() {
console.warn("Unable to add default annotation CSS rule; display may be off.");
};
+if (module && module.exports) {
+ module.exports = Dygraph;
+}
+
return Dygraph;
})();