Skip to content

Take the browser harness from where anyone can reach it - #48

Open
tannevaled wants to merge 1 commit into
mainfrom
use-shared-webcanvas
Open

Take the browser harness from where anyone can reach it#48
tannevaled wants to merge 1 commit into
mainfrom
use-shared-webcanvas

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

internal/webcanvas was the right code in the wrong place: a second application
wanting to run a go-widgets scene on a plain canvas could not import it, and
would have had to write the DOM plumbing again.

It now lives at github.com/go-widgets/webcanvas, and this module consumes it.
The copy here is deleted rather than left to drift — the whole point of moving
it is that there is one of it.

Nothing else changes: the same interface, the same scenes, the same tests, and
the wasm build is byte-for-byte the same work.

internal/webcanvas was the right code in the wrong place: a second application
wanting to run a go-widgets scene on a plain canvas could not import it, and
would have had to write the DOM plumbing again.

It now lives at github.com/go-widgets/webcanvas, and this module consumes it.
The copy here is deleted rather than left to drift — the whole point of moving
it is that there is one of it.

Nothing else changes: the same interface, the same scenes, the same tests, and
the wasm build is byte-for-byte the same work.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant