Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@mikaelkaron mikaelkaron released this 02 Sep 08:29
· 41 commits to master since this release

Features

  • callback should return instance not class (c3c7b87)
  • follow standard jQuery praxsis for 'this' (42997c8)
  • remove .find from $.fn.wire and instead rely on 'this' (82d5f56)

BREAKING CHANGES

  • Users have to $(element) on their own in callback.
  • Callback now has to return an instance not a module.
  • users will have to update their code to first select
    elements. A simple way to do this is by adding .find('[attr_goes_here]')
    right before the .wire call.