hyperstack-org/hyperstack

Hyperspec to_js method broken

Open

#393 aberto em 31 de mar. de 2021

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (43 forks)batch import
buggood first issue

Métricas do repositório

Stars
 (531 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

    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

Guia do colaborador