projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #674 from danvk/module
[dygraphs.git]
/
src
/
datahandler
/
datahandler.js
diff --git
a/src/datahandler/datahandler.js
b/src/datahandler/datahandler.js
index
b3eae91
..
1b0efcb
100644
(file)
--- a/
src/datahandler/datahandler.js
+++ b/
src/datahandler/datahandler.js
@@
-41,6
+41,8
@@
/*global Dygraph:false */
/*global DygraphLayout:false */
/*global Dygraph:false */
/*global DygraphLayout:false */
+"use strict";
+
/**
*
* The data handler is responsible for all data specific operations. All of the
/**
*
* 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
*/
* Initially the unified data is created by the extractSeries method
* @constructor
*/
-
Dygraph.
DataHandler = function () {
+
var Dygraph
DataHandler = function () {
};
};
-/**
- * A collection of functions to create and retrieve data handlers.
- * @type {Object.<!Dygraph.DataHandler>}
- */
-Dygraph.DataHandlers = {};
-
-(function() {
-
-"use strict";
-
-var handler = Dygraph.DataHandler;
+var handler = DygraphDataHandler;
/**
* X-value array index constant for unified data samples.
/**
* X-value array index constant for unified data samples.
@@
-267,4
+259,4
@@
handler.parseFloat = function(val) {
return val;
};
return val;
};
-
})()
;
+
export default DygraphDataHandler
;