minor es6 improvements

This commit is contained in:
JFH
2022-01-01 09:27:45 -03:00
parent b10f4be943
commit 82fab95988
14 changed files with 29 additions and 29 deletions

View File

@@ -14,7 +14,7 @@ let svgCanvas = null
* @param {module:paste-elem.pasteContext} pasteContext
* @returns {void}
*/
export const init = function (canvas) {
export const init = (canvas) => {
svgCanvas = canvas
}