Closed bramblex closed 8 years ago
Is this issue with <$>
or with the different selector?
I think you want to do this instead:
on "click" menuLinkHandler =<< select "#menuLink"
Or if you prefer:
select "#menuLink" >>= on "click" menuLinkHandler
I made a mistake, I'm very sorry waste of your time. And thank you for help me.
on "click" (deleteArticleHandler) <$> select "a[data-delete]" -- it will return a (Eff eff JQuery), not a JQuery.
No problem, perhaps the API should be improved.
It will compile to the following code.