on master help sign in
Actually build the module when using `Elm.worker`
commit26420d293704459063d2811f741ba523e7db6ef1 authorevancz <info@elm-lang.org> dateTue 21 May 2013, 18:25 (13 years ago) parent96e7194
1 file changed+1
runtime/Init.js+1
runtime/Init.js+1
@@ -78,6 +78,7 @@ function init(display, container, module) {
7878
7979 // If graphics are not enabled, escape early, skip over setting up DOM stuff.
8080 if (display === ElmRuntime.Display.NONE) {
81+ module(elm);
8182 return { send : send, recv : recv };
8283 }
8384