- Breaking: Align Exoskeleton with latest Backbone (specifically
jashkenas/backbone#3003).
- Remove View#find, View#findAll, and View#useNative
- Remove utils.matchesSelector, utils.delegate, and utils.delegate
- Remove
keepOld
property fromdelegateEvents
. Usedelegate
to add individual events now. - All hooks from jashkenas/backbone#3003. Instructions here.
- Add Router#execute and Router#atRoot
- Add Collection#_addReference
- Add _.has to utils
- Remove utils.ajax in favor of a plugin
- Model#toJSON now extends a plain object (not one created with
Object.create(null)
for compatibility with third party libs.)
- Added
View#useNative
property. Works great if you want to include jQuery and still use native methods for some views. Just set it totrue
in them.
- Added support for
data
option inutils.ajax
.
- Fixed handling of missing common.js jQuery dependency.
- Breaking: removed
View#delegate
andView#undelegate
. These methods now reside inutils
and can be excluded in custom builds. - Collection model ids can now be arbitrary js props.
E.g.
collection.get('toString')
. Collection#find
now works in no-underscore environment.
- Added support for
contentType
option inutils.ajax
- Fixed behaviour in node.js environment.
Backbone.Deferred
now must return actualDeferred
({promise, resolve, reject}
object).- Removed
Backbone.resolveDeferred
. - Added
beforeSend
option toutils.ajax
. - Moved
utils.ajax({method})
option to{type}
. - When used with custom build of lodash, Collection and Model will now use all existing methods.
- Improved performance of event triggering.
- Default AJAX functionality is now covered by
utils.ajax
- Added
Backbone.Deferred
andBackbone.resolveDeferred
. Promise returned byBackbone.Deferred
is returned via ajax. - Fixed IE support.
- Removed
utils.sortedIndex
. - Small optimisations.
- Fix broken bower.json package
- Declaratively defined view events which point to non-existing handler functions are no longer tolerated / skipped. Early error is thrown instead.
- All Chaplin tests are now passing.
- Added
utils.matchesSelector
.
- Fixed AMD support.
- jQuery is now 100% optional, just like underscore.
- All backbone tests are passing with and without jQuery.
- Initial release