on master help sign in
Get Text compiling
3cc169bEvan Czaplicki
libraries/Text.elm+6−1
@@ -1,9 +1,14 @@
1
1
2module Text where
2module Text where
3
3
4−import open Color
4+import Color (Color)
5+import Graphics.Element (Element, Three, Pos, ElementPrim, Properties)
6+import Maybe (Maybe)
7+import JavaScript (JSString)
5import Native.Text as Native
8import Native.Text as Native
6
9
10+data Text = Text
11+
7-- Convert a string into text which can be styled and displayed.
12-- Convert a string into text which can be styled and displayed.
8toText : String -> Text
13toText : String -> Text
9toText = Native.toText
14toText = Native.toText