on master help sign in
Use Text.leftAligned instead of old Text.text in the runtime
commit9423af410f35c09783a5b607d61d5b29ccb143df authorEvan Czaplicki <info@elm-lang.org> dateSat 1 Mar 2014, 21:04 (13 years ago) parent61aab62
1 file changed+1−1
runtime/Init.js+1−1
runtime/Init.js+1−1
@@ -91,7 +91,7 @@ function init(display, container, module, ports, moduleToReplace) {
9191 checkPorts(elm);
9292 } catch(e) {
9393 var directions = "<br/>&nbsp; &nbsp; Open the developer console for more details."
94− Module.main = Elm.Text.make(elm).text('<code>' + e.message + directions + '</code>');
94+ Module.main = Elm.Text.make(elm).leftAligned('<code>' + e.message + directions + '</code>');
9595 reportAnyErrors = function() { throw e; }
9696 }
9797 inputs = ElmRuntime.filterDeadInputs(inputs);