This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/linkedom/commonjs/canvas-shim.cjs
T

17 lines
260 B
JavaScript

class Canvas {
constructor(width, height) {
this.width = width;
this.height = height;
}
getContext() {
return null;
}
toDataURL() {
return '';
}
}
module.exports = {
createCanvas: (width, height) => new Canvas(width, height),
};