svg.js icon indicating copy to clipboard operation
svg.js copied to clipboard

fix: Don't same variable name as variable function

Open lpatiny opened this issue 3 years ago • 1 comments

When using this library in Safari (OsX or iPad) we may encounter the error:

'duplicate parameter in function with default parameter values'

This is related to the use of a variable name that is the same as the function and similar fix were applied in other libraries like: https://github.com/jupyterlab/jupyterlab/pull/7993/files

lpatiny avatar Feb 20 '22 15:02 lpatiny

Is this a bug in Safari?

Fuzzyma avatar Feb 20 '22 18:02 Fuzzyma