CustomDatasource: fixed build optimization issue with custom datasources, Fixes #994

This commit is contained in:
Torkel Ödegaard 2014-10-28 19:00:46 +01:00
parent a7b0f6dc9f
commit e5bb7f7c2d
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function (angular, _, kbn) {
this.url = datasource.url;
}
CustomDatasource.prototype.query = function(filterSrv, options) {
CustomDatasource.prototype.query = function(options) {
// get from & to in seconds
var from = kbn.parseDate(options.range.from).getTime() / 1000;
var to = kbn.parseDate(options.range.to).getTime() / 1000;

View File

@ -10,6 +10,7 @@ module.exports = function(config) {
'app/filters/**/*.js',
'app/panels/**/*.js',
'app/routes/**/*.js',
'plugins/**/*.js',
'app/app.js',
'vendor/angular/**/*.js',
],