Skip to content

Behaviors

Compare
Choose a tag to compare
@samccone samccone released this 21 Mar 13:53
· 1542 commits to master since this release

Version 1.7 represents a significant step in formalizing the ways to improve your view code though reusable behaviors. Say goodbye to custom mixin strategies and welcome behaviors into town.

  • Behaviors

    A Behavior is an isolated set of DOM / user interactions interactions that can be mixed into any View. Behaviors allow you to blackbox View specific interactions into portable logical chunks, keeping your views simple and your code DRY. Read the docs here.

  • Modules

    • Call stop listening on module stop.
  • Events

    • add a before:show event for views and regions
  • Docs

    • Entire refactor of application docs.
  • Tests

    • Rework the module tests to improve readability and consistency.
  • General

    • switch from ~ to ^ for trusted dependencies.