No need to derename, names will be preserved
commit02ab90e79438f96ae1c1f07fdf6c159f6fd9d6d3
authorEvan Czaplicki <info@elm-lang.org>
dateMon 29 Jul 2013, 11:55 (13 years ago)
parent1418bde
compiler/Generate/JavaScript.hs+1−1
@@ -80,7 +80,7 @@ jsModule modul =
8080
8181 jsExport x =
8282 if isOp x then "\n_._op['" ++ x ++ "'] = _op['" ++ x ++ "'];"
83− else "\n_." ++ derename x ++ " = " ++ x ++ ";"
83+ else "\n_." ++ x ++ " = " ++ x ++ ";"
8484
8585 importEvent (js,base,elm,_) =
8686 do v <- toJS' base