X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-externs.js;h=e8e2c420393aa40d739896cf1ddc057fa7c67548;hb=da2a028fc41e5573868358b3d9eda9826211d217;hp=11f867490c6f4e3f81a5dd6cf5e2ee802f6c9816;hpb=c26c7541e66a1245360a65c62bea95b814680d52;p=dygraphs.git diff --git a/dygraph-externs.js b/dygraph-externs.js index 11f8674..e8e2c42 100644 --- a/dygraph-externs.js +++ b/dygraph-externs.js @@ -1,3 +1,9 @@ +/** + * @license + * Copyright 2006 Dan Vanderkam (danvdk@gmail.com) + * MIT-licensed (http://opensource.org/licenses/MIT) + */ + // TODO(danvk): move the Dygraph definitions out of here once I closure-ify dygraphs.js /** * @param {!HTMLDivElement|string} div @@ -34,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} */ @@ -121,7 +127,7 @@ Dygraph.prototype.isSeriesLocked; /** @type {function(): number} */ Dygraph.prototype.numAxes; -/** @type {function(Object, Boolean=)} */ +/** @type {function(Object, boolean=)} */ Dygraph.prototype.updateOptions; /** @type {function(number, number)} */ @@ -136,7 +142,7 @@ Dygraph.prototype.visibility; /** @type {function(number, boolean)} */ Dygraph.prototype.setVisibility; -/** @type {function(Array., boolean)} */ +/** @type {function(Array., boolean=)} */ Dygraph.prototype.setAnnotations; /** @type {function(): Array.} */