Closed jonathanKingston closed 10 years ago
sweet site!
just pushed a fix for this, thanks for catching it! https://github.com/segmentio/myth/commit/e22b58562c6285a38d95b7fa5d3afc8a52764c8a
@ianstormtaylor thanks; I completely missed this until today.
I have just updated the site with the latest version; it appears to cause a fatal exception as expected thank you.
It can be a good idea to integrate this playground on the official website or at least mention it, don't you think guys ?
@MoOx Sounds worthwhile as that was my motivation to writing it really, that I couldn't see its use until it was in real time. I will tidy it up and make it embeddable onto the main site; I have just finished a quick text editor using rework which would allow for the same code highlight styling as on the Myth site in realtime. I should have this complete tonight.
Awesome ! :shipit:
So I made a sample site for testing Myth: MythHub
However I have noticed that variables persist across conversions, to replicate this you can delete or rename the variable green and it will still be operational in the converted code.
Effectively the code is doing:
Which means somewhere within the myth or library code base those variables are being stored and not removed.