Skip to content

Commit

Permalink
Updating version and README
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefGui committed May 8, 2015
1 parent 1b949ca commit d76a336
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,14 @@ Basic behaviour:

## Release notes

#### v0.11.5 [commits](https://github.com/thedersen/backbone.validation/compare/v0.11.4...v0.11.5)

* Check for no associatedViews in unbindModel().

#### v0.11.4 [commits](https://github.com/thedersen/backbone.validation/compare/v0.11.3...v0.11.4)

* Support arrays in the attributes.

#### v0.11.3 [commits](https://github.com/thedersen/backbone.validation/compare/v0.11.2...v0.11.3)

* Upgrading version in source file. Fixes #274.
Expand Down
4 changes: 2 additions & 2 deletions dist/backbone-validation-amd-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/backbone-validation-amd.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Backbone.Validation v0.11.4
// Backbone.Validation v0.11.5
//
// Copyright (c) 2011-2015 Thomas Pedersen
// Distributed under MIT License
Expand Down Expand Up @@ -344,7 +344,7 @@
// Removes view from associated views of the model or the methods
// added to a model if no view or single view provided
var unbindModel = function(model, view) {
if (view && model.associatedViews.length > 1){
if (view && model.associatedViews && model.associatedViews.length > 1){
model.associatedViews = _.without(model.associatedViews, view);
} else {
delete model.validate;
Expand Down
Loading

0 comments on commit d76a336

Please sign in to comment.