forked from glen/dyna3
Host Ganja.js locally
This commit is contained in:
parent
7e94fef19e
commit
d39244d308
2 changed files with 1919 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue