Remove dot requirement

This commit is contained in:
Daniel García Aubert 2017-09-06 11:44:52 +02:00
parent 8e2535745e
commit bbd42b73f2

View File

@ -2,10 +2,7 @@ var _ = require('underscore');
var BaseWidget = require('./base'); var BaseWidget = require('./base');
var debug = require('debug')('windshaft:dataview:histogram'); var debug = require('debug')('windshaft:dataview:histogram');
var dot = require('dot'); const columnCastTpl = ctx => `date_part('epoch', ${ctx.column})`
dot.templateSettings.strip = false;
var columnCastTpl = ctx => `date_part('epoch', ${ctx.column})`
const dateIntervalQueryTpl = ctx => ` const dateIntervalQueryTpl = ctx => `
WITH WITH