blob: c6fd434087b0eb48a85e7fac00e18021d71e79f4 [file] [log] [blame]
// Adds compile-time JS functions to augment the CanvasKit interface.
(function(CanvasKit) {
// This intentionally dangles because we want all the
// JS code to be in the same scope, but JS doesn't support
// namespaces like C++ does. Thus, we simply include this
// preamble.js file, all the source .js files and then postamble.js
// to bundle everything in the same scope.