From cfdb742bddfdbfdae6c6a60875624e0753121255 Mon Sep 17 00:00:00 2001 From: Thomas Neirynck Date: Fri, 17 Mar 2017 16:50:58 -0400 Subject: [PATCH] resolve style issues --- src/ui/public/agg_types/agg_params.js | 5 ----- src/ui/public/vis/agg_configs.js | 4 ---- src/ui/public/vis_maps/maps_renderbot.js | 3 +-- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/ui/public/agg_types/agg_params.js b/src/ui/public/agg_types/agg_params.js index aa656b5cd39dd..837f27c3a3843 100644 --- a/src/ui/public/agg_types/agg_params.js +++ b/src/ui/public/agg_types/agg_params.js @@ -8,11 +8,6 @@ import AggTypesParamTypesStringProvider from 'ui/agg_types/param_types/string'; import AggTypesParamTypesRawJsonProvider from 'ui/agg_types/param_types/raw_json'; import AggTypesParamTypesBaseProvider from 'ui/agg_types/param_types/base'; export default function AggParamsFactory(Private) { - - - // const GeoCentroidAggregation = Private(AggTypesMetricsGeoCentroidProvider); - // console.log(GeoCentroidAggregation); - const paramTypeMap = { field: Private(AggTypesParamTypesFieldProvider), optioned: Private(AggTypesParamTypesOptionedProvider), diff --git a/src/ui/public/vis/agg_configs.js b/src/ui/public/vis/agg_configs.js index e5c5e943dbd0a..b7430d8779281 100644 --- a/src/ui/public/vis/agg_configs.js +++ b/src/ui/public/vis/agg_configs.js @@ -177,10 +177,6 @@ export default function AggConfigsFactory(Private) { aggregations.push(geocentroidMetric); } - // console.log('arg', arf); - - //add - return aggregations; }; diff --git a/src/ui/public/vis_maps/maps_renderbot.js b/src/ui/public/vis_maps/maps_renderbot.js index 6def9e0a69a44..996839f691335 100644 --- a/src/ui/public/vis_maps/maps_renderbot.js +++ b/src/ui/public/vis_maps/maps_renderbot.js @@ -140,9 +140,8 @@ module.exports = function MapsRenderbotFactory(Private, $injector, tilemapSettin updateParams() { this._paramsDirty = true; - this._kibanaMapReady.then(_ => { + this._kibanaMapReady.then(() => { const mapParams = this._getMapsParams(); - //todo: when WMS changes, recreate the kibana-map if (mapParams.wms.enabled) { const { minZoom, maxZoom } = tilemapSettings.getMinMaxZoom(true); this._kibanaMap.setBaseLayer({