Behaviors
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 anyView
.Behaviors
allow you to blackboxView
specific interactions into portable logical chunks, keeping yourviews
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.
- switch from