Skip to content

Commit

Permalink
Also export CanvasProvider
Browse files Browse the repository at this point in the history
To allow some tinkering with https://www.npmjs.com/package/canvaskit-wasm on Node.js
  • Loading branch information
lehni committed Jun 19, 2020
1 parent 228ad84 commit efc6349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/canvas/CanvasProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

// TODO: Run through the canvas array to find a canvas with the requested
// width / height, so we don't need to resize it?
var CanvasProvider = {
var CanvasProvider = Base.exports.CanvasProvider = {
canvases: [],

getCanvas: function(width, height) {
Expand Down

0 comments on commit efc6349

Please sign in to comment.