HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/1991109/cwd/usr/share/javascript/jquery-tablesorter/js/parsers/
Upload File :
Current File : //proc/1991109/cwd/usr/share/javascript/jquery-tablesorter/js/parsers/parser-ignore-articles.min.js
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){

/*! Parser: ignoreArticles - updated 9/15/2014 (v2.17.8) */
!function(l){"use strict";var d=l.tablesorter;d.ignoreArticles={en:"the, a, an",de:"der, die, das, des, dem, den, ein, eine, einer, eines, einem, einen",nl:"de, het, de, een",es:"el, la, lo, los, las, un, una, unos, unas",pt:"o, a, os, as, um, uma, uns, umas",fr:"le, la, l'_, les, un, une, des",it:"il, lo, la, l'_, i, gli, le, un', uno, una, un",hu:"a, az, egy"},d.addParser({id:"ignoreArticles",is:function(){return!1},format:function(e,r,s,a){var n,i,t=r.config,e=e||"";return t.headers&&t.headers[a]&&t.headers[a].ignoreArticlesRegex||(t.headers||(t.headers={}),t.headers[a]||(t.headers[a]={}),i=d.getData(t.$headers.eq(a),d.getColumnData(r,t.headers,a),"ignoreArticles"),n=(d.ignoreArticles[i]||"the, a, an")+"",t.headers[a].ignoreArticlesRegex=new RegExp("^("+l.trim(n.split(/\s*\,\s*/).join("\\s|")+"\\s").replace("_\\s","")+")","i"),i=d.getData(t.$headers.eq(a),d.getColumnData(r,t.headers,a),"ignoreArticlesExcept"),t.headers[a].ignoreArticlesRegex2=""!==i?new RegExp("^("+i.replace(/\s/g,"\\s")+")","i"):""),!(n=t.headers[a].ignoreArticlesRegex).test(e)||(i=t.headers[a].ignoreArticlesRegex2)&&i.test(e)?e:e.replace(n,"")},type:"text"})}(jQuery);return jQuery;}));