From 9423af410f35c09783a5b607d61d5b29ccb143df Mon Sep 17 00:00:00 2001 From: Evan Czaplicki Date: Sat, 1 Mar 2014 21:04:33 -0800 Subject: [PATCH] Use Text.leftAligned instead of old Text.text in the runtime --- runtime/Init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/Init.js b/runtime/Init.js index fd96d76..cc92a61 100644 --- a/runtime/Init.js +++ b/runtime/Init.js @@ -91,7 +91,7 @@ function init(display, container, module, ports, moduleToReplace) { checkPorts(elm); } catch(e) { var directions = "
    Open the developer console for more details." - Module.main = Elm.Text.make(elm).text('' + e.message + directions + ''); + Module.main = Elm.Text.make(elm).leftAligned('' + e.message + directions + ''); reportAnyErrors = function() { throw e; } } inputs = ElmRuntime.filterDeadInputs(inputs);