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
rodič
revize
9a35cca137
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      src/elements/A.js

+ 2
- 2
src/elements/A.js Zobrazit soubor

@@ -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

Načítá se…
Zrušit
Uložit