Skip to content

Commit

Permalink
init metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
edsilv committed Mar 24, 2017
1 parent ffaf7dd commit c243e6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/uv-shared-module/BaseExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class BaseExtension implements IExtension {
locales: any[];
loginDialogue: LoginDialogue;
metric: MetricType = MetricType.LAPTOP;
metrics: Metric[];
metrics: Metric[] = [];
mouseX: number;
mouseY: number;
name: string;
Expand Down Expand Up @@ -673,7 +673,6 @@ class BaseExtension implements IExtension {
}

private _parseMetrics(): void {
this.metrics = [];
const metrics: any[] = this.config.options.metrics;

if (metrics) {
Expand Down

0 comments on commit c243e6c

Please sign in to comment.