X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fplugins%2Frange-selector.js;h=ef3aedb9ccb48b971d0949dacfe7dea99d182a4a;hb=cf61aeb77cda5e2638b1f00588dcd90394afd24c;hp=2090fae42facc32021cd5c9f55e3ac74722448b0;hpb=ce31caf22475e3e1fd6d9fea192d61ff4fcd7fac;p=dygraphs.git diff --git a/src/plugins/range-selector.js b/src/plugins/range-selector.js index 2090fae..ef3aedb 100644 --- a/src/plugins/range-selector.js +++ b/src/plugins/range-selector.js @@ -15,6 +15,7 @@ import * as utils from '../dygraph-utils'; import DygraphInteraction from '../dygraph-interaction-model'; +import IFrameTarp from '../iframe-tarp'; var rangeSelector = function() { this.hasTouchInterface_ = typeof(TouchEvent) != 'undefined'; @@ -256,7 +257,7 @@ rangeSelector.prototype.initInteraction_ = function() { // We cover iframes during mouse interactions. See comments in // dygraph-utils.js for more info on why this is a good idea. - var tarp = new utils.IFrameTarp(); + var tarp = new IFrameTarp(); // functions, defined below. Defining them this way (rather than with // "function foo() {...}" makes JSHint happy.