Host Ganja.js locally
This commit is contained in:
parent
7e94fef19e
commit
d39244d308
@ -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, """
|
||||||
|
1913
engine-proto/gram-test/ganja-1.0.204.js
Normal file
1913
engine-proto/gram-test/ganja-1.0.204.js
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user