mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 09:47:31 +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