| 9 | import { Machine } from "./machines/machines"; |
| 10 | |
| 11 | export interface Location { |
| 12 | host: string; |
| 13 | path: string; |
| 14 | hash: string; |
| 15 | } |
| 16 | |
| 17 | export function encode_location(location: Partial<Location>): string { |
| 18 | const shell_embedded = window.location.pathname.indexOf(".html") !== -1; |
nothing calls this directly
no outgoing calls
no test coverage detected