From ee9c301edb61e84a99e17f9621d4b97fd0053f27 Mon Sep 17 00:00:00 2001 From: Mottie Date: Sat, 16 May 2015 15:33:09 -0500 Subject: [PATCH] =?UTF-8?q?Core:=20add=20"=C5=8D"=20to=20sortLocaleCompare?= =?UTF-8?q?=20&=20update=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/example-locale-sort.html | 27 ++++++++++++++------------- docs/index.html | 2 +- js/jquery.tablesorter.js | 4 ++-- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/docs/example-locale-sort.html b/docs/example-locale-sort.html index 358a2279..4541269a 100644 --- a/docs/example-locale-sort.html +++ b/docs/example-locale-sort.html @@ -23,19 +23,20 @@ // provided by sugar.js sorting alogrithms: http://sugarjs.com/sorting /* $.tablesorter.characterEquivalents = { - "a" : "\u00e1\u00e0\u00e2\u00e3\u00e4", // áàâãä - "A" : "\u00c1\u00c0\u00c2\u00c3\u00c4", // ÁÀÂÃÄ - "c" : "\u00e7", // ç - "C" : "\u00c7", // Ç - "e" : "\u00e9\u00e8\u00ea\u00eb", // éèêë - "E" : "\u00c9\u00c8\u00ca\u00cb", // ÉÈÊË - "i" : "\u00ed\u00ec\u0130\u00ee\u00ef", // íìIîï - "I" : "\u00cd\u00cc\u0130\u00ce\u00cf", // ÍÌIÎÏ - "o" : "\u00f3\u00f2\u00f4\u00f5\u00f6", // óòôõö - "O" : "\u00d3\u00d2\u00d4\u00d5\u00d6", // ÓÒÔÕÖ - "S" : "\u00df", // ß - "u" : "\u00fa\u00f9\u00fb\u00fc", // úùûü - "U" : "\u00da\u00d9\u00db\u00dc" // ÚÙÛÜ + 'a' : '\u00e1\u00e0\u00e2\u00e3\u00e4\u0105\u00e5', // áàâãäąå + 'A' : '\u00c1\u00c0\u00c2\u00c3\u00c4\u0104\u00c5', // ÁÀÂÃÄĄÅ + 'c' : '\u00e7\u0107\u010d', // çćč + 'C' : '\u00c7\u0106\u010c', // ÇĆČ + 'e' : '\u00e9\u00e8\u00ea\u00eb\u011b\u0119', // éèêëěę + 'E' : '\u00c9\u00c8\u00ca\u00cb\u011a\u0118', // ÉÈÊËĚĘ + 'i' : '\u00ed\u00ec\u0130\u00ee\u00ef\u0131', // íìİîïı + 'I' : '\u00cd\u00cc\u0130\u00ce\u00cf', // ÍÌİÎÏ + 'o' : '\u00f3\u00f2\u00f4\u00f5\u00f6\u014d', // óòôõöō + 'O' : '\u00d3\u00d2\u00d4\u00d5\u00d6\u014c', // ÓÒÔÕÖŌ + 'ss': '\u00df', // ß (s sharp) + 'SS': '\u1e9e', // ẞ (Capital sharp s) + 'u' : '\u00fa\u00f9\u00fb\u00fc\u016f', // úùûüů + 'U' : '\u00da\u00d9\u00db\u00dc\u016e' // ÚÙÛÜŮ }; */ // modify the above defaults as follows diff --git a/docs/index.html b/docs/index.html index c8263ee8..2017b13f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1376,7 +1376,7 @@ From the example function above, you'll end up with something similar to this HT
  • ç replaced with c
  • éèêë replaced with e
  • íìİîï replaced with i
  • -
  • óòôõö replaced with o
  • +
  • óòôõöō replaced with o
  • úùûü replaced with u
  • ß replaced with S
  • diff --git a/js/jquery.tablesorter.js b/js/jquery.tablesorter.js index 876fce6f..a353f795 100644 --- a/js/jquery.tablesorter.js +++ b/js/jquery.tablesorter.js @@ -1594,8 +1594,8 @@ 'E' : '\u00c9\u00c8\u00ca\u00cb\u011a\u0118', // ÉÈÊËĚĘ 'i' : '\u00ed\u00ec\u0130\u00ee\u00ef\u0131', // íìİîïı 'I' : '\u00cd\u00cc\u0130\u00ce\u00cf', // ÍÌİÎÏ - 'o' : '\u00f3\u00f2\u00f4\u00f5\u00f6', // óòôõö - 'O' : '\u00d3\u00d2\u00d4\u00d5\u00d6', // ÓÒÔÕÖ + 'o' : '\u00f3\u00f2\u00f4\u00f5\u00f6\u014d', // óòôõöō + 'O' : '\u00d3\u00d2\u00d4\u00d5\u00d6\u014c', // ÓÒÔÕÖŌ 'ss': '\u00df', // ß (s sharp) 'SS': '\u1e9e', // ẞ (Capital sharp s) 'u' : '\u00fa\u00f9\u00fb\u00fc\u016f', // úùûüů