Skip to content

Commit

Permalink
fix(providers): HubSpot - Don't initialize _hsq object (#241)
Browse files Browse the repository at this point in the history
fix(providers): HubSpot - Don't initialize _hsq object
  • Loading branch information
neilsoult authored and scttcper committed Mar 2, 2018
1 parent 7893374 commit b4e6979
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib/providers/hubspot/angulartics2-hubspot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ export class Angulartics2Hubspot {
constructor(
private angulartics2: Angulartics2
) {
if (typeof _hsq === 'undefined') {
_hsq = [];
}

this.angulartics2.pageTrack
.pipe(this.angulartics2.filterDeveloperMode())
.subscribe((x) => this.pageTrack(x.path));
Expand Down

0 comments on commit b4e6979

Please sign in to comment.