-
Leon Arnott authored
I've long wanted to give a better explanation for how <script> tags actually make sense within Harlowe, and this helps solve most of that. Also, I'm glad that Harlowe's long-standing alignment of its variable names with Javascript variables has finally borne fruit, justifying the slightly dubious choice of the _ glyph for temp variables. In order to make this work, the run time of <script> elements has been changed to line up with Harlowe macros. Also, <script> elements now force an early reattachment of <tw-story> to the DOM, to allow jQuery queries to target the incoming passage. Also fixed a bug where the Toolbar's find/replace functionality didn't work right in multi-editor. Closes #253.
c6dbe8c76ab3