mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 18:13:44 +03:00
chore: fix lint
This commit is contained in:
parent
e6f2e2eafb
commit
2d6ab83f70
|
@ -30,7 +30,7 @@ export class Hash {
|
||||||
update(hash: string|null, rewriteHistory:boolean = false) {
|
update(hash: string|null, rewriteHistory:boolean = false) {
|
||||||
if (hash == undefined) return;
|
if (hash == undefined) return;
|
||||||
if (rewriteHistory) {
|
if (rewriteHistory) {
|
||||||
window.history.replaceState(null, '', window.location.href.split("#")[0] + '#' + hash);
|
window.history.replaceState(null, '', window.location.href.split('#')[0] + '#' + hash);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.noEmit = true;
|
this.noEmit = true;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
],
|
],
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"lib": [
|
"lib": [
|
||||||
"DOM", "ES2016", "DOM.Iterable"
|
"dom", "es2016", "dom.iterable"
|
||||||
],
|
],
|
||||||
"noEmitHelpers": false
|
"noEmitHelpers": false
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user