git.iko.soy/typeable/servant-reflex
on master help sign in
Drop console.log
commitcb94e4d30769de7f5eed97ef15471fe8333dcf94 authorGreg Hale <imalsogreg@gmail.com> dateWed 5 Apr 2017, 17:34 (10 years ago) parenta1618c2
1 file changed+1−1
src/Servant/Common/Req.hs+1−1
src/Servant/Common/Req.hs+1−1
@@ -396,7 +396,7 @@ performRequestsCT ct reqMeth reqs reqHost trigger = do
396396foreign import javascript safe "new DataView($3,$1,$2)"
397397 js_dataView :: Int -> Int -> JSVal -> JSVal
398398
399−foreign import javascript unsafe "console.log($1); $r = JSON['parse']($1);"
399+foreign import javascript unsafe "JSON['parse']($1);"
400400 js_jsonParse :: JSVal -> JSVal
401401
402402rawDecode :: (FromJSON a) => T.Text -> Maybe a