• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Adds compile-time JS functions to augment the CanvasKit interface.
2(function(CanvasKit) {
3
4
5// This intentionally dangles because we want all the
6// JS code to be in the same scope, but JS doesn't support
7// namespaces like C++ does. Thus, we simply include this
8// preamble.js file, all the source .js files and then postamble.js
9// to bundle everything in the same scope.