Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

Elm-Reactor can not find runElmProgram on page with JS module library (like requirejs) #227

@AlexErofeev

Description

@AlexErofeev

In elm-lang/elm-make#50 was added code to move Elm object from global scope if on the page any JS module library (requirejs, for example) is present. Nonetheless elm-reactor still assumes that Elm object is present in global scope. My propose is to add additional checks to function toJavaScript in file https://github.com/elm-lang/elm-reactor/blob/master/src/backend/Compile.hs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions