Shortly after v0.44.0, here comes another release bringing a few bug fixes and a really cool new feature… javascript ! This new property syntax allows writing formulas in pure javascript:
JS{{
// comments !
function hello(){
console.log(@{this.id} + ' says yay !')
}
hello()
return @{fader_1}
}}
What’s also really cool is that you can now debug your code easily with the parsing errors printed in the browser console (F12
).
JS{{
x = 1;
// JS{{}} error: ReferenceError: x is not defined at line 2
// (we are in js "strict mode", declaring global variables is not allowed)
// var x = 1; // would have worked
}}
Changelog
- bug fixes
- regression (v0.41.4) breaking sync between clients
- sessions not added to history when opened
- switch: traversing mode issue
- remote file browser reactivity issue
- encoder: broken because
ticks
default wasauto
instead of360
- main
- state files can be saved remotely
- widgets
-
removed deprecated widgets
multifader
,multitoggle
,multipush
andformula
- new
JS{{}}
property syntax, allows writing formulas using javascript - errors encountered in
#{}
blocks are now printed to the client console (F12) - keys: renamed formula context variable
super
tometa
-
removed deprecated widgets