purescript-jquery
purescript-jquery copied to clipboard
The setAttr has wrong type
The $(..).attr(String, String) is the right type for this function.
setAttr :: forall eff a. String -> a -> JQuery -> Eff (dom :: DOM | eff) Unit
should be
setAttr :: forall eff. String -> String -> JQuery -> Eff (dom :: DOM | eff) Unit
Writing an object generates an attribute att="[object Object]"
Any objection?
Sounds good, thanks!