Skip to content

Commit db3adfa

Browse files
committed
Embedded Three.js core and module into the server
1 parent 90470da commit db3adfa

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

generator/app_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ func TestAppCommand_Swagger(t *testing.T) {
241241
producerFileName: basics.NewTextNode(&parameter.String{
242242
Name: "Welp",
243243
DefaultValue: "yee",
244+
Description: "I'm a description",
244245
}),
245246
},
246247

@@ -293,7 +294,7 @@ func TestAppCommand_Swagger(t *testing.T) {
293294
"properties": {
294295
"Welp": {
295296
"type": "string",
296-
"description": ""
297+
"description": "I'm a description"
297298
}
298299
}
299300
}

generator/html/js/three.0.172.0.module.min.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generator/html/js/three.core.min.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generator/html/server.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
<script type="importmap">
99
{
1010
"imports": {
11-
"three": "https://unpkg.com/three@0.172.0/build/three.module.js",
11+
"three": "/js/three.0.172.0.module.min.js",
12+
"three/core": "/js/three.0.172.0.core.min.js",
1213
"three/addons/": "https://unpkg.com/three@0.172.0/examples/jsm/",
1314
"@mkkellogg/gaussian-splats-3d": "/js/gaussian-splats-3d.module.min.js",
1415
"node": "/js/node.js",

0 commit comments

Comments
 (0)