Actually build the module when using Elm.worker
This commit is contained in:
parent
96e719401d
commit
26420d2937
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ function init(display, container, module) {
|
|||
|
||||
// If graphics are not enabled, escape early, skip over setting up DOM stuff.
|
||||
if (display === ElmRuntime.Display.NONE) {
|
||||
module(elm);
|
||||
return { send : send, recv : recv };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue