HelloZeroNet / HelloZeroNet/ZeroNet
Wrapper commands do not support positional arguments
- Lingua principale
- JavaScript
- Stelle
- 18.8k
- Fork
- 2.3k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Step 1: Please describe your environment
* ZeroNet version: d3bf001752b5df11ebca5ef60f3974599d5c38bf
### Step 2: Describe the problem:
Setting the title via:
```javascript
ZeroFrame.cmd('wrapperSetTitle', 'My Great Title');
```
works fine, but takes in a string as input. Whereas you would also expect the following to work:
```javascript
ZeroFrame.cmd('wrapperSetTitle', {title: 'My Great Title'});
```
But not so, as the title is set to `[object Object]`.
Presumably every ZeroFrame command should handle the object syntax, including `wrapperSetTitle`?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.