svg.js
svg.js copied to clipboard
fix: Don't same variable name as variable function
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
Is this a bug in Safari?