From 18aad4651eed9f73d036b0f029ec298966560440 Mon Sep 17 00:00:00 2001 From: Varvara Efremova Date: Thu, 2 Jun 2022 21:32:38 +1000 Subject: [PATCH] Remove instrumentation --- addon/modifiers/vega.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/addon/modifiers/vega.ts b/addon/modifiers/vega.ts index 7290a7a..096d609 100644 --- a/addon/modifiers/vega.ts +++ b/addon/modifiers/vega.ts @@ -99,16 +99,12 @@ export default class VegaModifier extends Modifier { if (!this._vegaView) { // Create new Vega.View instance - console.log('before createView'); await this._createView(element, args); - console.log('before populateData'); await this._populateData(args); } else { // Update data only // TODO: Handle changes to config - - console.log('update before populateData'); await this._populateData(args); } } @@ -135,7 +131,6 @@ export default class VegaModifier extends Modifier { viewSpec = args.spec } - console.log('before Vega.View init'); this._vegaView = new Vega.View(Vega.parse(viewSpec, config), { renderer: 'svg', container: element, @@ -155,7 +150,6 @@ export default class VegaModifier extends Modifier { args: NamedArgs ): Promise { for (const name of Object.keys(args.data)) { - console.log('_populateData name', name, args.data[name]); this._vegaView.data(name, args.data[name]); }