Skip to content

Releases: firstandthird/domodule

3.0.0

25 Nov 05:45
Compare
Choose a tag to compare

New Features

  • Nested modules are now supported

Maintenance

  • Added editorconfig

Breaking Changes

  • Nested modules are no longer parsed which may break existing code. Check to make sure your code doesn't have any nested modules, and if it does test before going to production.

2.1.0

08 Sep 10:25
Compare
Choose a tag to compare

Actions can be bound to module element.

1.1.2

03 Jun 02:44
Compare
Choose a tag to compare

Fixes bad if/else in discover method.

1.1.1

03 Jun 02:33
Compare
Choose a tag to compare

Fixes the discover method. Was still using the old id attribute as the ref.

1.1.0

31 May 23:57
Compare
Choose a tag to compare

Breaking changes:

getInstance Chances to no longer accept an id. You must pass a dom node going forward. Unique IDs are no longer needed for every module.

1.0.0

17 May 00:23
Compare
Choose a tag to compare

Adds:

  • separate methods for binding actions and elements
  • findOne
  • findByName
  • getOption
  • tests
  • data-module-global-/data-action-global-
  • refs to instance stored on Domodule
  • getInstance
  • discover

Breaking changes:

You must now call Domodule.discover(); for everything to work. The old dist/index.js is no more.