From 920c7b45c095bdc7eff20339324ef0306f229612 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 14 Jun 2018 15:21:35 +0100 Subject: [PATCH] Add missing doc block --- sorting/czech-string.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/sorting/czech-string.js b/sorting/czech-string.js index 7d62476..1e3281f 100644 --- a/sorting/czech-string.js +++ b/sorting/czech-string.js @@ -1,4 +1,19 @@ -$.extend( $.fn.dataTableExt.oSort, { +/** + * This plug-in provides locale aware sorting for Czech. + * + * @name Czech + * @summary Sort locale aware sorting for Czech. + * @author + * + * @example + * $('#example').dataTable( { + * columnDefs: [ + * { type: 'czech', targets: 0 } + * ] + * } ); + */ + + $.extend( $.fn.dataTableExt.oSort, { "czech-pre": function ( a ) { var special_letters = { "A": "Aa", "a": "aa", "Á": "Ab", "á": "ab",