fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
20 lines (17 loc) • 496 B
JavaScript
import { WebGLProbe } from '../filters/GLProbes/WebGLProbe.mjs';
/* eslint-disable no-restricted-globals */
const copyPasteData = {};
const getEnv = () => {
return {
document,
window,
isTouchSupported: 'ontouchstart' in window || 'ontouchstart' in document || window && window.navigator && window.navigator.maxTouchPoints > 0,
WebGLProbe: new WebGLProbe(),
dispose() {
// noop
},
copyPasteData
};
};
export { getEnv };
//# sourceMappingURL=browser.mjs.map