chore: fix lint

This commit is contained in:
Roman Hotsiy 2017-04-23 18:00:36 +03:00
parent e6f2e2eafb
commit 2d6ab83f70
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -15,7 +15,7 @@
],
"outDir": "dist",
"lib": [
"DOM", "ES2016", "DOM.Iterable"
"dom", "es2016", "dom.iterable"
],
"noEmitHelpers": false
},