mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 20:46:14 -04:00
Move to parcel
This commit is contained in:
parent
c2706d00e7
commit
110f504820
16 changed files with 7665 additions and 513 deletions
|
@ -236,12 +236,11 @@ document.getElementById('new-level').addEventListener('click', e => {
|
|||
|
||||
renderAllLevels()
|
||||
|
||||
|
||||
function save() {
|
||||
return fetch('/', {
|
||||
method: 'POST', headers: {
|
||||
'Content-Type': 'text/plain'
|
||||
},
|
||||
body: 'let allLevels=' + JSON.stringify(allLevels, null, 2)
|
||||
body: JSON.stringify(allLevels, null, 2)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue