diff --git a/CHANGELOG.md b/CHANGELOG.md index 9728755..07af240 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,40 @@ +### Version 1.0.2 - March 03, 2014 + +* Better HiDPI screens support @ddctd143 + +### Version 2.0.0 RC - January 23, 2014 + +* Three ways to set an options: global object (`window.icheck`), data attributes (`[1.0.1](#december-19-2013) +# [iCheck plugin](http://fronteed.com/iCheck/) [1.0.2](#march-03-2014) #### Highly customizable checkboxes and radio buttons for jQuery and Zepto. Refer to the [iCheck website](http://fronteed.com/iCheck/) for examples. diff --git a/bower.json b/bower.json index bdde6e3..a2b8288 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "iCheck", - "version": "1.0.1", + "version": "1.0.2", "description": "Highly customizable checkboxes and radio buttons (jQuery & Zepto)", "keywords": [ "icheck", diff --git a/demo/index.html b/demo/index.html index ce6ea18..339148c 100644 --- a/demo/index.html +++ b/demo/index.html @@ -4,17 +4,17 @@ Checkboxes and radio buttons customization (jQuery and Zepto) plugin - - + + - - + +

super customized checkboxes and radio buttons for jQuery & Zepto

-

iCheck v1.0.1

+

iCheck v1.0.2

@Fronteed
diff --git a/icheck.jquery.json b/icheck.jquery.json index 48ab01f..e7018a6 100644 --- a/icheck.jquery.json +++ b/icheck.jquery.json @@ -1,6 +1,6 @@ { "name": "icheck", - "version": "1.0.1", + "version": "1.0.2", "title": "iCheck", "author": { "name": "Damir Sultanov", diff --git a/icheck.js b/icheck.js index f1170f2..51c3e80 100644 --- a/icheck.js +++ b/icheck.js @@ -1,5 +1,5 @@ /*! - * iCheck v1.0.1, http://git.io/arlzeA + * iCheck v1.0.2, http://git.io/arlzeA * =================================== * Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization * diff --git a/icheck.min.js b/icheck.min.js index 7752546..7cdb17e 100644 --- a/icheck.min.js +++ b/icheck.min.js @@ -1,4 +1,4 @@ -/*! iCheck v1.0.1 by Damir Sultanov, http://git.io/arlzeA, MIT Licensed */ +/*! iCheck v1.0.2 by Damir Sultanov, http://git.io/arlzeA, MIT Licensed */ (function(f){function A(a,b,d){var c=a[0],g=/er/.test(d)?_indeterminate:/bl/.test(d)?n:k,e=d==_update?{checked:c[k],disabled:c[n],indeterminate:"true"==a.attr(_indeterminate)||"false"==a.attr(_determinate)}:c[g];if(/^(ch|di|in)/.test(d)&&!e)x(a,g);else if(/^(un|en|de)/.test(d)&&e)q(a,g);else if(d==_update)for(var f in e)e[f]?x(a,f,!0):q(a,f,!0);else if(!b||"toggle"==d){if(!b)a[_callback]("ifClicked");e?c[_type]!==r&&q(a,g):x(a,g)}}function x(a,b,d){var c=a[0],g=a.parent(),e=b==k,u=b==_indeterminate, v=b==n,s=u?_determinate:e?y:"enabled",F=l(a,s+t(c[_type])),B=l(a,b+t(c[_type]));if(!0!==c[b]){if(!d&&b==k&&c[_type]==r&&c.name){var w=a.closest("form"),p='input[name="'+c.name+'"]',p=w.length?w.find(p):f(p);p.each(function(){this!==c&&f(this).data(m)&&q(f(this),b)})}u?(c[b]=!0,c[k]&&q(a,k,"force")):(d||(c[b]=!0),e&&c[_indeterminate]&&q(a,_indeterminate,!1));D(a,e,b,d)}c[n]&&l(a,_cursor,!0)&&g.find("."+C).css(_cursor,"default");g[_add](B||l(a,b)||"");g.attr("role")&&!u&&g.attr("aria-"+(v?n:k),"true"); g[_remove](F||l(a,s)||"")}function q(a,b,d){var c=a[0],g=a.parent(),e=b==k,f=b==_indeterminate,m=b==n,s=f?_determinate:e?y:"enabled",q=l(a,s+t(c[_type])),r=l(a,b+t(c[_type]));if(!1!==c[b]){if(f||!d||"force"==d)c[b]=!1;D(a,e,s,d)}!c[n]&&l(a,_cursor,!0)&&g.find("."+C).css(_cursor,"pointer");g[_remove](r||l(a,b)||"");g.attr("role")&&!f&&g.attr("aria-"+(m?n:k),"false");g[_add](q||l(a,s)||"")}function E(a,b){if(a.data(m)){a.parent().html(a.attr("style",a.data(m).s||""));if(b)a[_callback](b);a.off(".i").unwrap();