tree: 049f7a2a3b1334733f33c1c902c4408e25c863ce [path history] [tgz]
  1. build/
  2. go/
  3. modules/
  4. pages/
  5. wasm_libs/
  6. .gitignore
  7. BUILD.bazel
  8. DESIGN.md
  9. Makefile
  10. README.md
jsfiddle/README.md

JS Fiddle

Like fiddle.skia.org, but for JS only libraries. The WASM stuff (PathKit, CanvasKit) is a primary use case.

Which version of CanvasKit is being used?

When running tests (bazel test ...) or a local instance (make run-local-instance), the rules are set up to get the latest built version of CanvasKit and PathKit by looking at gcr.io/skia-public/skia-wasm-release:prod. See ./wasm_libs/BUILD.bazel for more.

When deploying, we look in ./build and use the files there. The files checked in to build are just empty placeholders. The real ones will be provided through our build pipeline.

To run jsfiddle locally with a custom build of CanvasKit/PathKit, copy the files to //jsfiddle/wasm_libs/local_build and run:

make run-with-custom

Do not check in those files you copied.