Skip to content

Commit 8a6eb37

Browse files
author
Damir Sultanov
committed
Changelog
1 parent adee72b commit 8a6eb37

7 files changed

+47
-10
lines changed

CHANGELOG.md

+37
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
### Version 1.0.2 - March 03, 2014
2+
3+
* Better HiDPI screens support @ddctd143
4+
5+
### Version 2.0.0 RC - January 23, 2014
6+
7+
* Three ways to set an options: global object (`window.icheck`), data attributes (`<input data-checkedClass="checked"`) and direct JavaScript object (`$(input).icheck({ options })`)
8+
* Huge performance boost (takes less than 1s to customize 1000 inputs)
9+
* Minimized number of function calls (some slow jQuery functions are replaced with a faster vanilla alternatives without using any dependencies)
10+
* AMD module definition support (both for jQuery and Zepto)
11+
* Unblocked native events - iCheck 2.x doesn't stop your newly or past binded events from being processed
12+
* Pointer events support - full support for phones and tablets that use Windows OS (such as Lumia, HP tablets, desktops with a touch screen, etc)
13+
* WebOS and Firefox OS support
14+
* 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)
15+
* Better handling of the `indeterminate` state
16+
* Ability to set callbacks in three ways: global object, direct JavaScript object or using bind method (`$(input).on(callback)`)
17+
* Ability to switch off some of the callbacks when you don't need them (global or per input)
18+
* Inline styles dropped - iCheck won't add any inline styles to the elements until it's highly needed (`cursor` or `area` option)
19+
* Fast click support - removes a 300ms click delay on mobile devices without any dependencies (iCheck compatible with the `fastclick` plugin), see the `tap` option
20+
* Ability to ignore customization for the selected inputs using `init` option (if set to `false`)
21+
* 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
22+
* Doesn't store tons of arbitrary data (event in jQuery or Zepto cache), defines customized elements by specific classnames
23+
* 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
24+
* Optimized reflows and repaints on init and state changes
25+
* Better options handling - iCheck will never run a single line of JS to process an options that are off or empty
26+
* Ability to auto customize the ajax loaded inputs without using any extra code (`autoAjax` option, on by default)
27+
* Auto inits on domready using the specified selector (`autoInit` option) - searches for `.icheck` by default. Classnames can be changed using the `window.classes` object
28+
* Memory usage optimization - uses only a few amount of memory (works well on low-memory devices)
29+
* Betters callbacks architecture - these are fired only after changes are applied to the input
30+
* 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)
31+
* Fixes some issues of the mobile devices
32+
* Fixes the issues of the wrapper labels, that loose a click ability in some browsers (if no `for` attribute is set)
33+
* Some other options and improvements
34+
* Various bug fixes
35+
36+
Note: extended docs and usage examples will be available later.
37+
138
### Version 1.0.1 - December 19, 2013
239

340
* Added Bower support

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [iCheck plugin](http://fronteed.com/iCheck/) <sup>[1.0.1](#december-19-2013)</sup>
1+
# [iCheck plugin](http://fronteed.com/iCheck/) <sup>[1.0.2](#march-03-2014)</sup>
22
#### Highly customizable checkboxes and radio buttons for jQuery and Zepto.
33

44
Refer to the [iCheck website](http://fronteed.com/iCheck/) for examples.

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iCheck",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Highly customizable checkboxes and radio buttons (jQuery & Zepto)",
55
"keywords": [
66
"icheck",

demo/index.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
<title>Checkboxes and radio buttons customization (jQuery and Zepto) plugin</title>
55
<meta charset="utf-8">
66
<meta content="width=device-width" name="viewport">
7-
<link href="./css/custom.css?v=1.0.1" rel="stylesheet">
8-
<link href="../skins/all.css?v=1.0.1" rel="stylesheet">
7+
<link href="./css/custom.css?v=1.0.2" rel="stylesheet">
8+
<link href="../skins/all.css?v=1.0.2" rel="stylesheet">
99
<script src="./js/jquery.js"></script>
10-
<script src="../icheck.js?v=1.0.1"></script>
11-
<script src="./js/custom.min.js?v=1.0.1"></script>
10+
<script src="../icheck.js?v=1.0.2"></script>
11+
<script src="./js/custom.min.js?v=1.0.2"></script>
1212
</head>
1313
<body>
1414
<div class="layout clear">
1515
<div class="header">
1616
<h1>super customized checkboxes and radio buttons for jQuery &amp; Zepto</h1>
17-
<h3>iCheck <span>v1.0.1</span></h3>
17+
<h3>iCheck <span>v1.0.2</span></h3>
1818
<strong>@<a href="http://twitter.com/fronteed/">Fronteed</a></strong>
1919
</div>
2020
<div class="features">

icheck.jquery.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "icheck",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"title": "iCheck",
55
"author": {
66
"name": "Damir Sultanov",

icheck.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* iCheck v1.0.1, http://git.io/arlzeA
2+
* iCheck v1.0.2, http://git.io/arlzeA
33
* ===================================
44
* Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization
55
*

icheck.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)