projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaec6de
)
Fix two inconsistencies in dygraph-externs.js (#859)
author
Drew Inglis
<drew@drewinglis.com>
Tue, 2 May 2017 21:10:40 +0000
(17:10 -0400)
committer
Dan Vanderkam
<danvdk@gmail.com>
Tue, 2 May 2017 21:10:40 +0000
(17:10 -0400)
1. The second argument of getOption should be marked as optional per
jsdoc at: http://dygraphs.com/jsdoc/symbols/Dygraph.html#getOption
2. 'boolean' is typo'd as 'Boolean' in updateOptions.
dygraph-externs.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-externs.js
b/dygraph-externs.js
index
9cf9568
..
02330f8
100644
(file)
--- a/
dygraph-externs.js
+++ b/
dygraph-externs.js
@@
-40,7
+40,7
@@
Dygraph.prototype.isZoomed;
/** @type {function(): string} */
Dygraph.prototype.toString;
-/** @type {function(string, string)} */
+/** @type {function(string, string
=
)} */
Dygraph.prototype.getOption;
/** @type {function(): number} */
@@
-127,7
+127,7
@@
Dygraph.prototype.isSeriesLocked;
/** @type {function(): number} */
Dygraph.prototype.numAxes;
-/** @type {function(Object,
B
oolean=)} */
+/** @type {function(Object,
b
oolean=)} */
Dygraph.prototype.updateOptions;
/** @type {function(number, number)} */