tablesorter/dist/js/parsers/parser-image.min.js

4 lines
300 B
JavaScript
Raw Normal View History

/*! image alt attribute parser for jQuery 1.7+ & tablesorter 2.7.11+
* New 7/17/2014 (v2.17.5)
*/
!function(a){"use strict";a.tablesorter.addParser({id:"image",is:function(){return!1},format:function(b,c,d){return a(d).find("img").attr(c.config.imgAttr||"alt")||b},parsed:!0,type:"text"})}(jQuery);