Add some typescript files and move dungeon.js code to them
This commit is contained in:
parent
778416a43a
commit
209070ac02
4 changed files with 244 additions and 111 deletions
|
|
@ -25,8 +25,8 @@
|
|||
<script defer src="{{ .Secure.RelPermalink }}"></script>
|
||||
{{- end -}}
|
||||
|
||||
{{- with partial "secure_asset.html" "scripts/nethack/dungeon.js" -}}
|
||||
<script defer src="{{ .Secure.RelPermalink }}"></script>
|
||||
{{- with resources.Get "scripts/nethack/dungeon.js" -}}
|
||||
<script defer type=module src="{{ (. | js.Build).RelPermalink }}"></script>
|
||||
{{- end -}}
|
||||
|
||||
{{- range $script := .Resources.Match "*.js" -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue