Hacker News new | ask | show | jobs
by ianthehenry 630 days ago
So if you've ever loaded Bauble before you might have a stale and no-longer-working version of the tutorial cached in localStorage -- if you just clear out the script and refresh it will restore the default one. If that's still erroring, please let me know!
1 comments

Not OP, but I've aso loaded Bauble before, and clearing localStorage didn't help (Firefox, macOS)...

(torus :z 60 30 | twist :y 0.07 | rotate :pi :y t :z 0.05 | move :x 50 | mirror :r 10 :x | fresnel | slow 0.25)

error: script:16:1: compile error: unknown symbol twist

  in evaluate [lib/evaluator.janet] on line 81, column 7

  in bauble-evaluator/evaluate [lib/init.janet] on line 8, column 12
Oh yeah if you clear localStorage like from dev tools, Bauble will re-save the script before refresh, putting it right back where it was. But if you like cmd-a backspace to empty the contents of the script and then refresh it’ll load the default.