hyperstack-org / hyperstack-org/hyperstack

Hyperspec to_js method broken

Open
#393 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
JavaScript
Stars
538
Forks
41
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.