git.iko.soy/typeable/servant-reflex
on master help sign in
Drop console.log
cb94e4dGreg Hale
src/Servant/Common/Req.hs+1−1
@@ -396,7 +396,7 @@ performRequestsCT ct reqMeth reqs reqHost trigger = do
396foreign import javascript safe "new DataView($3,$1,$2)"
396foreign import javascript safe "new DataView($3,$1,$2)"
397 js_dataView :: Int -> Int -> JSVal -> JSVal
397 js_dataView :: Int -> Int -> JSVal -> JSVal
398
398
399−foreign import javascript unsafe "console.log($1); $r = JSON['parse']($1);"
399+foreign import javascript unsafe "JSON['parse']($1);"
400 js_jsonParse :: JSVal -> JSVal
400 js_jsonParse :: JSVal -> JSVal
401
401
402rawDecode :: (FromJSON a) => T.Text -> Maybe a
402rawDecode :: (FromJSON a) => T.Text -> Maybe a