All Versions
149
Latest Version
Avg Release Cycle
116 days
Latest Release
1223 days ago
Changelog History
Page 7
Changelog History
Page 7
-
v1.7.0 Changes
๐ Version 1.7 represents a significant step in formalizing the ways to improve your
view
code though reusablebehaviors
. Say goodbye to custom mixin strategies and welcomebehaviors
into town.Behaviors
A
Behavior
is an isolated set of DOM / user 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
-
v1.6.4 Changes
- Fixes
- Patches a bug that would cause modules to be initialized twice when a custom module class is passed
- Fixes
-
v1.6.3 Changes
Improvements
Enable more direct module instantiation on
Marionette.App
.var ItemModule = Marionette.Module.extend({ startWithParent: false, initialize: function(options) {}, onStart: function() {} }); // ... this.app.module('Items', ItemModule);
ui
hash interpolation now supports a functionalui
hash.
ui: function() { return { "foo": ".foo" } }
Fixes
- Fix
@ui
interpolation for handling complex selectors.
{ "click div:not(@ui.bar)": "tapper" }
- Bump
backbone.babysitter
andbackbone.wreqr
versions.
- Fix
General
- Improve readme docs for
CollectionView
,AppRouter
andItemView
. - Handle THE npm self sign cert problem
- Replace unneeded argument slicing.
- Normalize error throwing to use internal
throwError
helper method. - Use
_
type checks for non performant code to improve readability and consistency.
- Improve readme docs for
-
v1.6.1 Changes
- Modules
- Fix a bug where a module would not start by default when defined as an object literal
- Modules
-
v1.6.0 Changes
CompositeView
- add a
composite:collection:before:render
event
- add a
CollectionView
checkEmpty
can now be overridden
Modules
Modules
can now be created using the extend method, and then attached to an Application.
General
- add a component.json file
- update bower.json
- add AMD build in bower.json
Tests
- general clean up
- add sinon.js for test spys
-
v1.5.1 Changes
- CollectionView/CompositeView
- Fix bug where
show
andonDomRefresh
was not called onitemViews
in certain conditions
- Fix bug where
- CollectionView/CompositeView
-
v1.5.0 Changes
Views
CollectionView/CompositeView
itemViewContainer
is now called with the correct context- Fix bug where reseting a
collection
within acollectionView
would causeonShow
andonDomRefresh
to be called incorrectly on the itemViews. addItemView
now returns theview
that was added- You can now specify an
itemEvents
hash or method which allows you to capture all bubbling itemEvents without having to manually set bindings.
itemEvents: { "render": function() { console.log("an itemView has been rendered"); } }
Regions
- Region
close
event now passes theview
being closed with the event.
- Region
General
- Updated bower ignore folder
- Added an editor config file
-
v1.4.1 Changes
- Views
- fix for inital view class options. Now retains set options at class instantiation
- Views
-
v1.4.0 Changes
- Views
- adds the ability to use the new
@ui.
syntax within the events and triggers hash to prevent selector duplication
- adds the ability to use the new
- Views