Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
♨️ 0.11.6 ♨️
Browse files Browse the repository at this point in the history
  • Loading branch information
1000hz committed Dec 5, 2016
1 parent bd61728 commit cb547b2
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,10 @@
Changelog
=========
### 0.11.6
* Scope `focus` option's error scrolling to only inputs within the validator's form element. (#385)
* Fixing `<select multiple required />` being marked as invalid by default with jQuery 3.x (#393)
* Fixing a memory leak of `this.$inputs` on `.validator('destroy')`

### 0.11.5
* Fixed an event binding order issue when the form is reset. ([#375](https://github.com/1000hz/bootstrap-validator/pull/375))

Expand Down
6 changes: 3 additions & 3 deletions dist/validator.js
@@ -1,5 +1,5 @@
/*!
* Validator v0.11.5 for Bootstrap 3, by @1000hz
* Validator v0.11.6 for Bootstrap 3, by @1000hz
* Copyright 2016 Cina Saffary
* Licensed under http://opensource.org/licenses/MIT
*
Expand Down Expand Up @@ -48,7 +48,7 @@
this.toggleSubmit()
}

Validator.VERSION = '0.11.5'
Validator.VERSION = '0.11.6'

Validator.INPUT_SELECTOR = ':input:not([type="hidden"], [type="submit"], [type="reset"], button)'

Expand Down Expand Up @@ -110,7 +110,6 @@
Validator.prototype.validateInput = function ($el, deferErrors) {
var value = getValue($el)
var prevErrors = $el.data('bs.validator.errors')
var errors

if ($el.is('[type="radio"]')) $el = this.$element.find('input[name="' + $el.attr('name') + '"]')

Expand Down Expand Up @@ -338,6 +337,7 @@
this.validators = null
this.$element = null
this.$btn = null
this.$inputs = null

return this
}
Expand Down
4 changes: 2 additions & 2 deletions dist/validator.min.js

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

6 changes: 3 additions & 3 deletions docs/dist/validator.js
@@ -1,5 +1,5 @@
/*!
* Validator v0.11.5 for Bootstrap 3, by @1000hz
* Validator v0.11.6 for Bootstrap 3, by @1000hz
* Copyright 2016 Cina Saffary
* Licensed under http://opensource.org/licenses/MIT
*
Expand Down Expand Up @@ -48,7 +48,7 @@
this.toggleSubmit()
}

Validator.VERSION = '0.11.5'
Validator.VERSION = '0.11.6'

Validator.INPUT_SELECTOR = ':input:not([type="hidden"], [type="submit"], [type="reset"], button)'

Expand Down Expand Up @@ -110,7 +110,6 @@
Validator.prototype.validateInput = function ($el, deferErrors) {
var value = getValue($el)
var prevErrors = $el.data('bs.validator.errors')
var errors

if ($el.is('[type="radio"]')) $el = this.$element.find('input[name="' + $el.attr('name') + '"]')

Expand Down Expand Up @@ -338,6 +337,7 @@
this.validators = null
this.$element = null
this.$btn = null
this.$inputs = null

return this
}
Expand Down

0 comments on commit cb547b2

Please sign in to comment.