X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=src%2Fdatahandler%2Fdatahandler.js;h=1b0efcb48199abbf865e8d64ffca43ebfe14f61d;hb=6ecc073934b76e5076f917112a24ff7094857730;hp=b3eae91ea612a10367295a2d408d5699405ae501;hpb=a4c3ece0a11e4e5c4f1f51a8bc8b7878d34ee052;p=dygraphs.git diff --git a/src/datahandler/datahandler.js b/src/datahandler/datahandler.js index b3eae91..1b0efcb 100644 --- a/src/datahandler/datahandler.js +++ b/src/datahandler/datahandler.js @@ -41,6 +41,8 @@ /*global Dygraph:false */ /*global DygraphLayout:false */ +"use strict"; + /** * * The data handler is responsible for all data specific operations. All of the @@ -48,20 +50,10 @@ * Initially the unified data is created by the extractSeries method * @constructor */ -Dygraph.DataHandler = function () { +var DygraphDataHandler = function () { }; -/** - * A collection of functions to create and retrieve data handlers. - * @type {Object.} - */ -Dygraph.DataHandlers = {}; - -(function() { - -"use strict"; - -var handler = Dygraph.DataHandler; +var handler = DygraphDataHandler; /** * X-value array index constant for unified data samples. @@ -267,4 +259,4 @@ handler.parseFloat = function(val) { return val; }; -})(); +export default DygraphDataHandler;