hyperstack-org/hyperstack

Hyperspec to_js method broken

Open

#393 geöffnet am 31. März 2021

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (43 Forks)batch import
buggood first issue

Repository-Metriken

Stars
 (531 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

    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