svgdotjs / svg.js

The lightweight library for manipulating and animating SVG
https://svgjs.dev
Other
11.07k stars 1.08k forks source link

fix: Don't same variable name as variable function #1258

Closed lpatiny closed 1 year ago

lpatiny commented 2 years ago

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

Fuzzyma commented 2 years ago

Is this a bug in Safari?