Procházet zdrojové kódy
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
pull/1258/head
Luc Patiny
před 2 roky
Žádný účet není propojen s e-mailovou adresou tvůrce revize
|
|
@@ -10,8 +10,8 @@ export default class A extends Container { |
|
|
|
} |
|
|
|
|
|
|
|
// Link target attribute |
|
|
|
target (target) { |
|
|
|
return this.attr('target', target) |
|
|
|
target (targetValue) { |
|
|
|
return this.attr('target', targetValue) |
|
|
|
} |
|
|
|
|
|
|
|
// Link url |