Created by: rvagg
Twipsy doesn't currently work with Ender for the following reasons:
ender.support
isn't defined (as far as I can see anyway, perhaps there is a package that has it?). Seems like something that could go in to bowser though.
ender.data()
is only bound to the internal chain so can't be called as $.data(e, k, v)
but as far as I'm aware $(e).data(k, v)
is fine by both Ender and jQuery. Perhaps bonzo.data
should be bound to ender
as well as boosh
?
ender.remove()
doesn't clean up like jQuery's does which leaves transitionEnd
bound so on subsequent show()
's you get an immediate fade-out after the fade-in. An explicit unbind()
seems to do the trick.
ender.fn
doesn't actually do anything as far as I can tell so it seems appropriate to do an ender.ender(ender.fn, true)
at the end of Twipsy to install it properly. Or perhaps just ender.ender({twpsy: ender.fn.twipsy, true)
would be safest?
This pull request added Ender support and adds a little note about the dependencies. Let me know if you want anything adjusted.