Skip to content

Commit

Permalink
iOS 13 support, fixes #424, fixes #419
Browse files Browse the repository at this point in the history
  • Loading branch information
Damir Sultanov committed Oct 9, 2020
1 parent 6f311ed commit c8c1af8
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 20 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [1.0.3] - 2020-10-10

### Added
- iOS 13 support @markusbroman

### Changed
- Reformatted changelog
- Reformatted changelog @lasseeee

### Fixed
- Fire change event when toggled @rafatmyo
Expand Down
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [iCheck plugin](http://fronteed.com/iCheck/) <sup>[1.0.2](#march-03-2014)</sup>
# [iCheck plugin](http://fronteed.com/iCheck/) <sup>[1.0.3](#october-10-2020)</sup>
#### Highly customizable checkboxes and radio buttons for jQuery and Zepto.

Refer to the [iCheck website](http://fronteed.com/iCheck/) for examples.
Expand Down Expand Up @@ -366,6 +366,12 @@ Mobile browsers (like Opera mini, Chrome mobile, Safari mobile, Android browser,
Changelog
---------------

## October 10, 2020

* iOS 13 support @markusbroman
* Reformatted changelog @lasseeee
* Fire change event when toggled @rafatmyo

### March 03, 2014

* Better HiDPI screens support @ddctd143
Expand All @@ -385,12 +391,12 @@ Changelog
* 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`)
* 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
* 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
* 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)
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iCheck",
"version": "1.0.2",
"version": "1.0.3",
"description": "Highly customizable checkboxes and radio buttons (jQuery & Zepto)",
"keywords": [
"icheck",
Expand Down
10 changes: 5 additions & 5 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.2" rel="stylesheet">
<link href="../skins/all.css?v=1.0.2" rel="stylesheet">
<link href="./css/custom.css?v=1.0.3" rel="stylesheet">
<link href="../skins/all.css?v=1.0.3" rel="stylesheet">
<script src="./js/jquery.js"></script>
<script src="../icheck.js?v=1.0.2"></script>
<script src="./js/custom.min.js?v=1.0.2"></script>
<script src="../icheck.js?v=1.0.3"></script>
<script src="./js/custom.min.js?v=1.0.3"></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.2</span></h3>
<h3>iCheck <span>v1.0.3</span></h3>
<strong>@<a href="http://twitter.com/fronteed/">Fronteed</a></strong>
</div>
<div class="features">
Expand Down
2 changes: 1 addition & 1 deletion icheck.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "icheck",
"version": "1.0.2",
"version": "1.0.3",
"title": "iCheck",
"author": {
"name": "Damir Sultanov",
Expand Down
2 changes: 1 addition & 1 deletion icheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
_callback = 'trigger',
_label = 'label',
_cursor = 'cursor',
_mobile = /ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);
_mobile = /ip(hone|od|ad)|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);

// Plugin init
$.fn[_iCheck] = function(options, fire) {
Expand Down
12 changes: 6 additions & 6 deletions icheck.min.js

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

1 comment on commit c8c1af8

@kricri0704
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Link dont work.. Can you host it again?
http://fronteed.com/iCheck

Please sign in to comment.