From 2d6ab83f704aafe6c53549ae96ce221e2851c89a Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Sun, 23 Apr 2017 18:00:36 +0300 Subject: [PATCH] chore: fix lint --- lib/services/hash.service.ts | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/hash.service.ts b/lib/services/hash.service.ts index fda833e7..4cdb5964 100644 --- a/lib/services/hash.service.ts +++ b/lib/services/hash.service.ts @@ -30,7 +30,7 @@ export class Hash { update(hash: string|null, rewriteHistory:boolean = false) { if (hash == undefined) return; if (rewriteHistory) { - window.history.replaceState(null, '', window.location.href.split("#")[0] + '#' + hash); + window.history.replaceState(null, '', window.location.href.split('#')[0] + '#' + hash); return; } this.noEmit = true; diff --git a/tsconfig.json b/tsconfig.json index fbb918e7..8ce88692 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,7 @@ ], "outDir": "dist", "lib": [ - "DOM", "ES2016", "DOM.Iterable" + "dom", "es2016", "dom.iterable" ], "noEmitHelpers": false },