Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
Bump version to 2.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
battaglr committed Feb 23, 2017
1 parent 1740906 commit e056d6f
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions dist/mobile/chico.css

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

10 changes: 5 additions & 5 deletions dist/mobile/chico.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* Chico UI v2.0.9
* Chico UI v2.0.10
* http://chico-ui.com.ar/
*
* Copyright (c) 2016, MercadoLibre.com
* Copyright (c) 2017, MercadoLibre.com
* Released under the MIT license.
* http://chico-ui.com.ar/license
*/
Expand Down Expand Up @@ -180,7 +180,7 @@
}
}

ch.version = '2.0.9';
ch.version = '2.0.10';
window.ch = ch;
}(this));
(function (ch) {
Expand Down Expand Up @@ -4570,7 +4570,7 @@
that.validate();
}

if (that.conditions.required === undefined && this.value === '') {
if ((that.conditions.required === undefined || that.conditions.required._enabled === false) && this.value === '') {
that.clear();
}

Expand Down Expand Up @@ -4666,7 +4666,7 @@
}

var condition,
required = this.conditions.required,
required = this.conditions.required && this.conditions.required._enabled,
value = this._el.value;

// Avoid fields that aren't required when they are empty or de-activated
Expand Down
6 changes: 3 additions & 3 deletions dist/mobile/chico.min.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/mobile/chico.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/ui/chico.css

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

10 changes: 5 additions & 5 deletions dist/ui/chico.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* Chico UI v2.0.9
* Chico UI v2.0.10
* http://chico-ui.com.ar/
*
* Copyright (c) 2016, MercadoLibre.com
* Copyright (c) 2017, MercadoLibre.com
* Released under the MIT license.
* http://chico-ui.com.ar/license
*/
Expand Down Expand Up @@ -147,7 +147,7 @@ for (var m in tiny) {
}
}

ch.version = '2.0.9';
ch.version = '2.0.10';
window.ch = ch;
}(this));
(function (ch) {
Expand Down Expand Up @@ -2572,7 +2572,7 @@ for (var m in tiny) {
that.validate();
}

if (that.conditions.required === undefined && this.value === '') {
if ((that.conditions.required === undefined || that.conditions.required._enabled === false) && this.value === '') {
that.clear();
}

Expand Down Expand Up @@ -2668,7 +2668,7 @@ for (var m in tiny) {
}

var condition,
required = this.conditions.required,
required = this.conditions.required && this.conditions.required._enabled,
value = this._el.value;

// Avoid fields that aren't required when they are empty or de-activated
Expand Down
6 changes: 3 additions & 3 deletions dist/ui/chico.min.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/ui/chico.min.js

Large diffs are not rendered by default.

0 comments on commit e056d6f

Please sign in to comment.