HelloZeroNet / HelloZeroNet/ZeroNet
Wrapper commands do not support positional arguments
- Lenguaje dominante
- JavaScript
- Estrellas
- 18.8k
- Forks
- 2.3k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 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`?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.