|
|
|
@ -4,7 +4,7 @@ export class Project extends HTMLElement {
|
|
|
|
const shadow = this.attachShadow({mode: 'open'})
|
|
|
|
const shadow = this.attachShadow({mode: 'open'})
|
|
|
|
const textArea = document.createElement('textarea')
|
|
|
|
const textArea = document.createElement('textarea')
|
|
|
|
const path = new URL(
|
|
|
|
const path = new URL(
|
|
|
|
window.location.hash || '/',
|
|
|
|
window.location.hash.slice(1) || '/',
|
|
|
|
window.location
|
|
|
|
window.location
|
|
|
|
).pathname
|
|
|
|
).pathname
|
|
|
|
const header = document.createElement('h1')
|
|
|
|
const header = document.createElement('h1')
|
|
|
|
|