Fix showing compilation errors in the browser
* "Elm." is already prepended by https://github.com/evancz/Elm/blob/dev/compiler/Gen/GenerateHtml.hs#L74
commit88154c04ceafe6ca382d6ba57fc4c22e843ae820
authorColin Curtin <colin.t.curtin@gmail.com>
dateSat 11 May 2013, 13:29 (13 years ago)
parentd8067fd
compiler/Gen/GenerateHtml.hs+1−1
@@ -44,7 +44,7 @@ generateHtml libLoc title source =
4444 case buildFromSource True source of
4545 Right modul -> modulesToHtml Readable title libLoc [] True [modul]
4646 Left err -> createHtml Readable libLoc title (Right $ showErr err)
47− (H.noscript "") "Elm.Main"
47+ (H.noscript "") "Main"
4848
4949
5050modulesToHtml jsStyle title libLoc jss nscrpt modules =