Permalink
Browse files

Changelog

  • Loading branch information...
fronteed committed Mar 3, 2014
1 parent adee72b commit 8a6eb37bd7dab1e843c1b630c91c6398ff409d05
Showing with 47 additions and 10 deletions.
  1. +37 −0 CHANGELOG.md
  2. +1 −1 README.md
  3. +1 −1 bower.json
  4. +5 −5 demo/index.html
  5. +1 −1 icheck.jquery.json
  6. +1 −1 icheck.js
  7. +1 −1 icheck.min.js
View
@@ -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 (`<input data-checkedClass="checked"`) and direct JavaScript object (`$(input).icheck({ options })`)
* Huge performance boost (takes less than 1s to customize 1000 inputs)
* Minimized number of function calls (some slow jQuery functions are replaced with a faster vanilla alternatives without using any dependencies)
* AMD module definition support (both for jQuery and Zepto)
* Unblocked native events - iCheck 2.x doesn't stop your newly or past binded events from being processed
* Pointer events support - full support for phones and tablets that use Windows OS (such as Lumia, HP tablets, desktops with a touch screen, etc)
* WebOS and Firefox OS support
* New methods: `$(input).icheck('data')` to get all the options were used for customization (also stores a current states values - `checked`, `disabled` and `indeterminate`), `$('input').icheck('styler')` to get a wrapper div (that's used for customization)
* Better handling of the `indeterminate` state
* Ability to set callbacks in three ways: global object, direct JavaScript object or using bind method (`$(input).on(callback)`)
* Ability to switch off some of the callbacks when you don't need them (global or per input)
* Inline styles dropped - iCheck won't add any inline styles to the elements until it's highly needed (`cursor` or `area` option)
* Fast click support - removes a 300ms click delay on mobile devices without any dependencies (iCheck compatible with the `fastclick` plugin), see the `tap` option
* Ability to ignore customization for the selected inputs using `init` option (if set to `false`)
* Optimized event bindings - iCheck binds only a few global events for the all inputs (doesn't increase on elements addition), instead of a couple for the each customized element
* Doesn't store tons of arbitrary data (event in jQuery or Zepto cache), defines customized elements by specific classnames
* Extra `ins` tag is dropped (less DOM modifications), iCheck wraps each input with a single `div` and doesn't use any extra markup for the any option
* Optimized reflows and repaints on init and state changes
* Better options handling - iCheck will never run a single line of JS to process an options that are off or empty
* Ability to auto customize the ajax loaded inputs without using any extra code (`autoAjax` option, on by default)
* Auto inits on domready using the specified selector (`autoInit` option) - searches for `.icheck` by default. Classnames can be changed using the `window.classes` object
* Memory usage optimization - uses only a few amount of memory (works well on low-memory devices)
* Betters callbacks architecture - these are fired only after changes are applied to the input
* Ability to set a mirror classes between the inputs and assigned labels using the `hoverLabelClass`, `focusLabelClass`, `activeLabelClass`, `checkedLabelClass`, `disabledLabelClass` and `indeterminateLabelClass` options (`mirror` option should be set to `true` to make this happen)
* Fixes some issues of the mobile devices
* Fixes the issues of the wrapper labels, that loose a click ability in some browsers (if no `for` attribute is set)
* Some other options and improvements
* Various bug fixes
Note: extended docs and usage examples will be available later.
### Version 1.0.1 - December 19, 2013
* Added Bower support
View
@@ -1,4 +1,4 @@
# [iCheck plugin](http://fronteed.com/iCheck/) <sup>[1.0.1](#december-19-2013)</sup>
# [iCheck plugin](http://fronteed.com/iCheck/) <sup>[1.0.2](#march-03-2014)</sup>
#### Highly customizable checkboxes and radio buttons for jQuery and Zepto.
Refer to the [iCheck website](http://fronteed.com/iCheck/) for examples.
View
@@ -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",
View
@@ -4,17 +4,17 @@
<title>Checkboxes and radio buttons customization (jQuery and Zepto) plugin</title>
<meta charset="utf-8">
<meta content="width=device-width" name="viewport">
<link href="./css/custom.css?v=1.0.1" rel="stylesheet">
<link href="../skins/all.css?v=1.0.1" rel="stylesheet">
<link href="./css/custom.css?v=1.0.2" rel="stylesheet">
<link href="../skins/all.css?v=1.0.2" rel="stylesheet">
<script src="./js/jquery.js"></script>
<script src="../icheck.js?v=1.0.1"></script>
<script src="./js/custom.min.js?v=1.0.1"></script>
<script src="../icheck.js?v=1.0.2"></script>
<script src="./js/custom.min.js?v=1.0.2"></script>
</head>
<body>
<div class="layout clear">
<div class="header">
<h1>super customized checkboxes and radio buttons for jQuery &amp; Zepto</h1>
<h3>iCheck <span>v1.0.1</span></h3>
<h3>iCheck <span>v1.0.2</span></h3>
<strong>@<a href="http://twitter.com/fronteed/">Fronteed</a></strong>
</div>
<div class="features">
View
@@ -1,6 +1,6 @@
{
"name": "icheck",
"version": "1.0.1",
"version": "1.0.2",
"title": "iCheck",
"author": {
"name": "Damir Sultanov",
View
@@ -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
*
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 8a6eb37

Please sign in to comment.