Closed bob2517 closed 1 year ago
At the same time of fixing this, allow embedded JS, {= =} to work on CSS variable assignment.
CSS variable assignment from ACSS is a hidden gem and really useful, as you can avoid having to add and remove classes to change CSS properties, and means less DOM markup.
Can't seem to repeat this now. Work on the second part of this. Re-open if needed.
Both these appear to be fixed on the branch already.
Dev edition warning added to failing expressions to show error. There's a fallback to string evaluation that happens afterwards which was causing no initial error to appear. This may also need to be placed elsewhere if it comes up again.
Closing in preparation for release.
I think this is a latest branch issue, but in case it isn't, here's an issue for it.
If there are JavaScript errors in a run command, it silently fails, which is no use to anyone.
The workaround is to look for errors in the JavaScript code itself - do console.log() in there - try and see where it could be failing. It's not ideal.