on master help sign in
Stop importing the Native library by default
commitc19ccfe56a961b1c8d54f90275e86aef85b29ff2 authorEvan Czaplicki <info@elm-lang.org> dateFri 26 Jul 2013, 00:19 (13 years ago) parent727d708
1 file changed+1−2
compiler/Generate/JavaScript.hs+1−2
compiler/Generate/JavaScript.hs+1−2
@@ -69,8 +69,7 @@ jsModule modul =
6969 , concat foreignImport
7070 , concatMap exportEvent $ foreignExports modul
7171 , body
72− , setup ("elm" : "Native" : names modul)
73− , assign "_" ("elm.Native." ++ modName ++ "||{}")
72+ , assign "_" "{}"
7473 , concatMap jsExport (exports modul)
7574 , setup ("elm" : names modul)
7675 , ret (assign' ("elm." ++ modName) "_")