summaryrefslogtreecommitdiff
path: root/elm3/CharEdit/New.elm
diff options
context:
space:
mode:
Diffstat (limited to 'elm3/CharEdit/New.elm')
-rw-r--r--elm3/CharEdit/New.elm19
1 files changed, 19 insertions, 0 deletions
diff --git a/elm3/CharEdit/New.elm b/elm3/CharEdit/New.elm
new file mode 100644
index 00000000..1a43341a
--- /dev/null
+++ b/elm3/CharEdit/New.elm
@@ -0,0 +1,19 @@
+module CharEdit.New exposing (main)
+
+import Browser
+import Lib.Gen exposing (CharEditVnrels, CharEditVns)
+import CharEdit.Main as Main
+
+
+type alias Flags =
+ { vnrels : List CharEditVnrels
+ , vns : List CharEditVns
+ }
+
+main : Program Flags Main.Model Main.Msg
+main = Browser.element
+ { init = \f -> (Main.new f.vns f.vnrels, Cmd.none)
+ , view = Main.view
+ , update = Main.update
+ , subscriptions = always Sub.none
+ }