#631 globals svgEditor to get imgpath and set changes

This commit is contained in:
agriyadev5
2021-09-22 12:17:21 +05:30
parent 8df8efedf0
commit b958009e16
23 changed files with 46 additions and 168 deletions

View File

@@ -174,9 +174,6 @@ export default {
$id("tool_open").addEventListener("click", clickOpen.bind(this));
$id("tool_save").addEventListener("click", clickSave.bind(this, "save"));
$id("tool_save_as").addEventListener("click", clickSave.bind(this, "saveas"));
[ "tool_clear", "tool_open", "tool_save", "tool_save_as" ].forEach((attrId) =>
$id(attrId).init(svgEditor)
);
}
};
}