@@ -52,6 +52,7 @@ data JS = JSRaw String
55 | JSArray [JS]
56 | JSArray [JS]
56 | JSObject [(String, JS)]
57 | JSObject [(String, JS)]
57 | JSString String
58 | JSString String
@@ -123,6 +124,9 @@ compileJS JSThis =
123compileJS JSTrue =
124compileJS JSTrue =
126compileJS (JSArray elems) =
130compileJS (JSArray elems) =
127 "[" ++ intercalate "," (map compileJS elems) ++ "]"
131 "[" ++ intercalate "," (map compileJS elems) ++ "]"