Documentation
¶
Rendered for js/wasm
Overview ¶
Command playground is the WebAssembly entry point for the browser playground. It exposes the engine package to JavaScript as a global "htmlpolicy" object and then blocks forever; all logic lives in playground/engine, which is fully tested on every platform. Results cross the JS boundary as JSON strings (the page JSON.parses them), keeping this glue free of js.ValueOf structure-conversion edge cases.
Click to show internal directories.
Click to hide internal directories.