mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
minor change to #6904
This commit is contained in:
parent
815722c3cc
commit
3bb9d47a45
@ -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;
|
||||||
|
@ -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"
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user