minor change to #6904

This commit is contained in:
Torkel Ödegaard 2016-12-12 11:38:10 +01:00
parent 815722c3cc
commit 3bb9d47a45
2 changed files with 2 additions and 2 deletions

View File

@ -650,7 +650,7 @@ function($, _) {
size *= kbn.intervals_in_seconds[units.find(function(e) { return e.long === timeScale; }).short] * 1000; size *= kbn.intervals_in_seconds[units.find(function(e) { return e.long === timeScale; }).short] * 1000;
var string = []; var string = [];
// after first value >= 1 print only $decimals more // after first value >= 1 print only $decimals more
var decrementDecimals = false; var decrementDecimals = false;
for (var i = 0; i < units.length && decimals >= 0; i++) { for (var i = 0; i < units.length && decimals >= 0; i++) {
var interval = kbn.intervals_in_seconds[units[i].short] * 1000; var interval = kbn.intervals_in_seconds[units[i].short] * 1000;

View File

@ -2,6 +2,6 @@ module.exports = function(config) {
'use strict' 'use strict'
return { return {
tslint : "node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json", tslint : "node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json",
tscompile: "node ./node_modules/typescript/lib/tsc.js -p tsconfig.json" tscompile: "node ./node_modules/typescript/lib/tsc.js -p tsconfig.json --diagnostics"
}; };
}; };