projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix tests that accompany fixing bug 382.
[dygraphs.git]
/
dygraph-externs.js
diff --git
a/dygraph-externs.js
b/dygraph-externs.js
index
6e487fd
..
ed5de4c
100644
(file)
--- a/
dygraph-externs.js
+++ b/
dygraph-externs.js
@@
-72,13
+72,22
@@
function DygraphLayout() {}
*/
DygraphLayout.prototype.datasets;
*/
DygraphLayout.prototype.datasets;
+// TODO: DygraphOptions should not reach inside Dygraph private data like this.
+/** @type {Object} */
+Dygraph.prototype.attrs_;
+/** @type {Object} */
+Dygraph.prototype.user_attrs_;
+
/**
* @type {DygraphLayout}
*/
Dygraph.prototype.layout_;
/**
* @type {DygraphLayout}
*/
Dygraph.prototype.layout_;
+/** @type {function(): string} */
+Dygraph.prototype.getHighlightSeries;
+
/** @type {Array.<{elem:Element,type:string,fn:function(!Event):(boolean|undefined|null)}>} */
Dygraph.prototype.registeredEvents_;
/** @type {Array.<{elem:Element,type:string,fn:function(!Event):(boolean|undefined|null)}>} */
Dygraph.prototype.registeredEvents_;
-/** @type {
Object
} */
+/** @type {
{axes: Object}
} */
Dygraph.DEFAULT_ATTRS;
Dygraph.DEFAULT_ATTRS;