summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhixin <wenzhixin2010@gmail.com>2016-01-03 11:20:52 +0800
committerzhixin <wenzhixin2010@gmail.com>2016-01-03 11:20:52 +0800
commitd04b41a77e750e8bee30e3cad9353d6907f02876 (patch)
tree060f59137439f12f7dfcbec15685f5e5f9cc7d62
parent3ea793e6583e3d6d7729e4706a7ab80e8e43f5d0 (diff)
downloadmultiple-select-d04b41a77e750e8bee30e3cad9353d6907f02876.zip
multiple-select-d04b41a77e750e8bee30e3cad9353d6907f02876.tar.gz
multiple-select-d04b41a77e750e8bee30e3cad9353d6907f02876.tar.bz2
Update to 1.2.1
-rw-r--r--CHANGELOG.md7
-rw-r--r--bower.json2
-rw-r--r--docs/README-ZH-CN.md2
-rw-r--r--docs/README.md2
-rw-r--r--multiple-select.jquery.json2
-rw-r--r--multiple-select.js7
-rw-r--r--package.json2
7 files changed, 16 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 06e8768..c537382 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,13 @@
* [bug] Fix #154: special character problem.
* [enh] Added `dropWidth` option.
* [enh] Added `open` and `close` methods.
+* [enh] Fix #139: Added onFilter event.
+* [enh] Fix #144: added `animate` option to support fade and slide animates.
+* [bug] Fix #257: <label> element detection.
+* [bug] Fix jQuery dependency.
+* [bug] Fixed disable issue.
+* [enh] Add selected class to 'select all' option.
+* [enh] Added logic to perform accent insensitive compare when filtering values.
### 1.2.0
diff --git a/bower.json b/bower.json
index 6e56611..c2a3abd 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "multiple-select",
- "version": "1.2.0",
+ "version": "1.2.1",
"homepage": "https://github.com/wenzhixin/multiple-select",
"authors": [
"文翼 <wenzhixin2010@gmail.com>"
diff --git a/docs/README-ZH-CN.md b/docs/README-ZH-CN.md
index b47a3c7..6aee00e 100644
--- a/docs/README-ZH-CN.md
+++ b/docs/README-ZH-CN.md
@@ -2,7 +2,7 @@
Multiple select 是一个通过复选框来选择多元素的 jQuery 插件:).
-*当前版本: 1.2.0*
+*当前版本: 1.2.1*
## Requirements
diff --git a/docs/README.md b/docs/README.md
index 66a7368..f45a022 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -4,7 +4,7 @@ Multiple select is a jQuery plugin to select multiple elements with checkboxes :
**Multiple Selected is licensed under the The MIT License. Completely free, you can arbitrarily use and modify this plugin. If this plugin is useful to you, you can give me a <a href="https://github.com/wenzhixin/multiple-select/">star</a>, and I will do better, thanks.**
-*Current version: 1.2.0*
+*Current version: 1.2.1*
## Requirements
diff --git a/multiple-select.jquery.json b/multiple-select.jquery.json
index 94b4a9f..baaf52e 100644
--- a/multiple-select.jquery.json
+++ b/multiple-select.jquery.json
@@ -1,6 +1,6 @@
{
"name": "multiple-select",
- "version": "1.2.0",
+ "version": "1.2.1",
"title": "Multiple Select",
"description": "Multiple select is a jQuery plugin to select multiple elements with checkboxes :).",
"author": {
diff --git a/multiple-select.js b/multiple-select.js
index c2f8740..763faf9 100644
--- a/multiple-select.js
+++ b/multiple-select.js
@@ -1,6 +1,6 @@
/**
* @author zhixin wen <wenzhixin2010@gmail.com>
- * @version 1.2.0
+ * @version 1.2.1
*
* http://wenzhixin.net.cn/p/multiple-select/
*/
@@ -26,7 +26,8 @@
});
return flag ? str : '';
};
- function removeDiacritics (str) {
+
+ var removeDiacritics = function (str) {
var defaultDiacriticsRemovalMap = [
{'base':'A', 'letters':/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},
{'base':'AA','letters':/[\uA732]/g},
@@ -114,7 +115,7 @@
{'base':'z','letters':/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}
];
- for(var i=0; i<defaultDiacriticsRemovalMap.length; i++) {
+ for (var i = 0; i < defaultDiacriticsRemovalMap.length; i++) {
str = str.replace(defaultDiacriticsRemovalMap[i].letters, defaultDiacriticsRemovalMap[i].base);
}
diff --git a/package.json b/package.json
index 43e841d..8de46ff 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "multiple-select",
"main": "multiple-select.js",
- "version": "1.2.0",
+ "version": "1.2.1",
"title": "Multiple Select",
"description": "Multiple select is a jQuery plugin to select multiple elements with checkboxes :).",
"author": {