We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c44b9c1 commit b204da1Copy full SHA for b204da1
src/modules/svg.js
@@ -132,7 +132,7 @@ import { globalObject } from "../libs/globalObject.js";
132
return loadCanvg()
133
.then(
134
function(canvg) {
135
- return canvg.Canvg.fromString(ctx, svg, options);
+ return canvg.fromString(ctx, svg, options);
136
},
137
function() {
138
return Promise.reject(new Error("Could not load canvg."));
0 commit comments