session: v0->v1 session conversion: remove JS{{}} in script property

This commit is contained in:
jean-emmanuel 2021-04-21 23:16:29 +02:00
parent 5d37ba109a
commit 1e3aab0541
2 changed files with 7 additions and 1 deletions

View file

@ -7,12 +7,15 @@
- editor: use css variable `--grid-width` at startup (allow overriding) and after disabling & enabling the grid
- widgets
- menu/switch/dropdown: reset value to `undefined` when receiving a value that's not defined in `values`
- menu/switch/dropdown: reset value to `undefined` when receiving a value that's not defined in `values`
- midi
- allow sending note off with velocity
- add option for receiving note off with velocity
- misc
- v0->v1 session conversion: remove `JS{{}}` in script property
## 1.9.0
**Warning** Sessions saved with this version will not open in older versions (sessions saved with older version will open in this version).

View file

@ -230,6 +230,9 @@ var converters = [
}
`
break
case 'script':
data.script = String(data.script).replace(/^JS{{(.*)}}$/, '$1')
break
}