Host Ganja.js locally

This commit is contained in:
Aaron Fenyes 2024-07-06 21:35:09 -07:00
parent 7e94fef19e
commit d39244d308
2 changed files with 1919 additions and 2 deletions

View File

@ -65,8 +65,12 @@ mutable struct ConstructionViewer
} }
""") """)
# load Ganja.js # load Ganja.js. for an automatically updated web-hosted version, load from
loadjs!(win, "https://unpkg.com/ganja.js") #
# https://unpkg.com/ganja.js
#
# instead
loadjs!(win, "http://localhost:8000/ganja-1.0.204.js")
# create global functions and variables # create global functions and variables
script!(win, """ script!(win, """

File diff suppressed because it is too large Load Diff