1 Commits

Author SHA1 Message Date
65a34f960c post init 2023-10-26 01:17:59 -06:00

View File

@@ -8,7 +8,7 @@ import { ZoomableDoodler } from "./zoomableCanvas.ts";
export const init = ( export const init = (
opt: IDoodlerOptions, opt: IDoodlerOptions,
zoomable: boolean, zoomable: boolean,
postInit: postInit, postInit?: postInit,
) => { ) => {
if (window.doodler) { if (window.doodler) {
throw "Doodler has already been initialized in this window"; throw "Doodler has already been initialized in this window";