X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=src%2Fdygraph.js;h=ba447392579ee7b0237cf7a777b38ea2f6e3fdf2;hb=aaec6de56dba8ed712fd7b9d949de47b46a76ccd;hp=d5036690e8d6a84b0828d4ae6773bf6aa48a29bc;hpb=59ee387ba6d5113ceedba2b16b1c0c53ddfa072c;p=dygraphs.git diff --git a/src/dygraph.js b/src/dygraph.js index d503669..ba44739 100644 --- a/src/dygraph.js +++ b/src/dygraph.js @@ -1350,6 +1350,7 @@ Dygraph.prototype.resetZoom = function() { const zoomCallback = this.getFunctionOption('zoomCallback'); // TODO(danvk): merge this block w/ the code below. + // TODO(danvk): factor out a generic, public zoomTo method. if (!animatedZooms) { this.dateWindow_ = null; this.axes_.forEach(axis => { @@ -3125,7 +3126,7 @@ Dygraph.prototype.updateOptions = function(input_attrs, block_redraw) { if (file) { // This event indicates that the data is about to change, but hasn't yet. - // TODO(danvk): support cancelation of the update via this event. + // TODO(danvk): support cancellation of the update via this event. this.cascadeEvents_('dataWillUpdate', {}); this.file_ = file;