hyperstack-org / hyperstack-org/hyperstack
Hyperspec to_js method broken
Aperta
bug
good first issue
- Lingua principale
- JavaScript
- Stelle
- 538
- Fork
- 41
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```ruby
def to_js(*args, &block)
opal_compile(*process_params(*args, &block))
end
```
needs to be
```
def to_js(*args, &block)
opal_compile(process_params(*args, &block).first)
end
```
(second value from process_params is options for mounting, which opal_compile doesn't need)
Should have a simple spec anyway that says yes I returned a string with length > 0
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.