Rename BaseWidget by BaseDataview

This commit is contained in:
Daniel García Aubert 2017-09-06 16:54:08 +02:00
parent 4edf18f77a
commit 9f52e58be8

View File

@ -1,4 +1,4 @@
const BaseWidget = require('./base'); const BaseDataview = require('./base');
const debug = require('debug')('windshaft:dataview:histogram'); const debug = require('debug')('windshaft:dataview:histogram');
const columnCastTpl = ctx => `date_part('epoch', ${ctx.column})`; const columnCastTpl = ctx => `date_part('epoch', ${ctx.column})`;
@ -318,7 +318,7 @@ Time series:
} }
*/ */
module.exports = class Histogram extends BaseWidget { module.exports = class Histogram extends BaseDataview {
constructor (query, options, queries) { constructor (query, options, queries) {
super(); super();