Skip to content
This repository has been 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

Open
AlexErofeev opened this issue Apr 17, 2017 · 1 comment

Comments

@AlexErofeev
Copy link

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

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants