purescript-jquery icon indicating copy to clipboard operation
purescript-jquery copied to clipboard

The setAttr has wrong type

Open ricksanchez opened this issue 8 years ago • 1 comments

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?

ricksanchez avatar Jun 21 '17 20:06 ricksanchez

Sounds good, thanks!

paf31 avatar Jun 25 '17 03:06 paf31