From 73d43713c2730ff0a6a754481437abf9ac9233f8 Mon Sep 17 00:00:00 2001 From: Mottie Date: Thu, 28 Mar 2013 16:57:38 -0500 Subject: [PATCH] Added language support to ignore leading article parser & renamed it to "ignoreArticles". Fixes #266 --- README.md | 2 +- ...l => example-parsers-ignore-articles.html} | 91 +++++++++++++++++-- docs/index.html | 2 +- js/parsers/parser-ignore-articles.js | 47 ++++++++++ js/parsers/parser-ignore-leads.js | 23 ----- 5 files changed, 131 insertions(+), 34 deletions(-) rename docs/{example-parsers-ignore-leads.html => example-parsers-ignore-articles.html} (92%) create mode 100644 js/parsers/parser-ignore-articles.js delete mode 100644 js/parsers/parser-ignore-leads.js diff --git a/README.md b/README.md index 45afaecbf..82c32c06e 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ View the [complete listing here](https://github.com/Mottie/tablesorter/wiki/Chan * [Date library](http://mottie.github.com/tablesorter/docs/example-parsers-dates.html) (sugar & datejs) * ISO 8601 date by [Sean Ellingham](https://github.com/seanellingham) (no demo, yet) * [Metric prefixes](http://mottie.github.com/tablesorter/docs/example-parsers-metric.html) - * [Ignore leads](example-parsers-ignore-leads.html) parser (ignores "A", "An" and "The" in titles) + * [Ignore leads](http://mottie.github.com/tablesorter/docs/example-parsers-ignore-articles.html) parser (ignores "A", "An" and "The" in titles) * [Inputs, checkbox and select parsers](http://mottie.github.com/tablesorter/docs/example-widget-grouping.html). These parsers automatically update on element changes, but requires jQuery 1.7+. * Tablesorter's "update" method now checks if a column sort has been enabled or disabled: diff --git a/docs/example-parsers-ignore-leads.html b/docs/example-parsers-ignore-articles.html similarity index 92% rename from docs/example-parsers-ignore-leads.html rename to docs/example-parsers-ignore-articles.html index 5ecf2b46c..1e83fdf5d 100644 --- a/docs/example-parsers-ignore-leads.html +++ b/docs/example-parsers-ignore-articles.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Ignore leads parser + jQuery plugin: Tablesorter 2.0 - Ignore leading articles parser @@ -17,7 +17,7 @@ - +