Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

The setAttr has wrong type #39

@ricksanchez

Description

@ricksanchez

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions