projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrite tests to use ES6 modules.
[dygraphs.git]
/
src
/
datahandler
/
bars-custom.js
diff --git
a/src/datahandler/bars-custom.js
b/src/datahandler/bars-custom.js
index
7313ca2
..
d4e94d1
100644
(file)
--- a/
src/datahandler/bars-custom.js
+++ b/
src/datahandler/bars-custom.js
@@
-9,20
+9,19
@@
* @author David Eberlein (david.eberlein@ch.sauter-bc.com)
*/
* @author David Eberlein (david.eberlein@ch.sauter-bc.com)
*/
-(function() {
-
/*global Dygraph:false */
"use strict";
/*global Dygraph:false */
"use strict";
+import BarsHandler from './bars';
+
/**
* @constructor
* @extends Dygraph.DataHandlers.BarsHandler
*/
/**
* @constructor
* @extends Dygraph.DataHandlers.BarsHandler
*/
-
Dygraph.DataHandlers.
CustomBarsHandler = function() {
+
var
CustomBarsHandler = function() {
};
};
-var CustomBarsHandler = Dygraph.DataHandlers.CustomBarsHandler;
-CustomBarsHandler.prototype = new Dygraph.DataHandlers.BarsHandler();
+CustomBarsHandler.prototype = new BarsHandler();
/** @inheritDoc */
CustomBarsHandler.prototype.extractSeries = function(rawData, i, options) {
/** @inheritDoc */
CustomBarsHandler.prototype.extractSeries = function(rawData, i, options) {
@@
-100,4
+99,4
@@
CustomBarsHandler.prototype.rollingAverage =
return rollingData;
};
return rollingData;
};
-
})()
;
+
export default CustomBarsHandler
;