/* The scripting engine exposes the following globals: */
// TODO: instead of making this a plaintext file, wrap it in a monaco
// editor (or otherwise) so you get highlighting
/* ----- Global variables ------ */
// Anything declared in your script scope is guaranteed to persist
There should not be an Open reference button at all, instead there should be tabs, with the Reference in one tab and the script in another; you should be able to make more tabs with separate scripts.
editor (or otherwise) so you get highlighting
https://api.github.com/acenturyandabit/workflowish/blob/983fb872360dd59686fa1ee01632ddd2162716d9/public/script-reference.js#L2