fay-jquery v0.6 Release Notes

Release Date: 2013-12-26 // over 10 years ago
    • 🆓 Constrain more free type variables to Selectable
    • 🔄 Change getAttr :: Text -> JQuery -> Fay Text to Text -> JQuery -> Fay (Defined Text)

Previous changes from v0.5

    • ➕ Add Selectable typeclass (with instances for Text, JQuery and Element. String is not a valid instance.)
    • select and is now accept Selectable a => a as the first argument.
    • 🚚 selectElement, selectObject, isJQuery, and isElement has been removed in favor of select and is.
    • createJQuery :: Text -> a -> Fay JQuery has been replaced by selectInContext :: (Selectable a, Selectable b) => a -> b -> Fay JQuery
    • isWith :: (Double -> Bool) -> JQuery -> Fay JQuery has changed to isWith :: (Int -> Bool) -> JQuery -> Fay JQuery
    • ⚡️ Updated usage instructions in README

    🐛 Bug fixes:

    • is now returns Bool