Use Text.leftAligned instead of old Text.text in the runtime
This commit is contained in:
parent
61aab6292f
commit
9423af410f
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ function init(display, container, module, ports, moduleToReplace) {
|
|||
checkPorts(elm);
|
||||
} catch(e) {
|
||||
var directions = "<br/> Open the developer console for more details."
|
||||
Module.main = Elm.Text.make(elm).text('<code>' + e.message + directions + '</code>');
|
||||
Module.main = Elm.Text.make(elm).leftAligned('<code>' + e.message + directions + '</code>');
|
||||
reportAnyErrors = function() { throw e; }
|
||||
}
|
||||
inputs = ElmRuntime.filterDeadInputs(inputs);
|
||||
|
|
Loading…
Reference in a new issue