Actually build the module when using Elm.worker

This commit is contained in:
evancz 2013-05-21 18:25:38 +02:00
parent 96e719401d
commit 26420d2937

View file

@ -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 };
}