mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
cmd/gio: don't add a container div for -target js
THe webassembly backend can create and add it itself. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -59,7 +59,6 @@ func buildJS(bi *buildInfo) error {
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="giowindow"></div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>`
|
</html>`
|
||||||
if err := ioutil.WriteFile(filepath.Join(out, "index.html"), []byte(indexhtml), 0600); err != nil {
|
if err := ioutil.WriteFile(filepath.Join(out, "index.html"), []byte(indexhtml), 0600); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user