Sha256: 2ddd30b603ebfcde385dd08f215e6ed0533dc9c449bf8fd545d169d71084ccd4

Contents?: true

Size: 449 Bytes

Versions: 12

Compression:

Stored size: 449 Bytes

Contents

/*! Parser: image - new 7/17/2014 (v2.17.5) */
/* alt attribute parser for jQuery 1.7+ & tablesorter 2.7.11+ */
/*jshint jquery:true, unused:false */
;(function($){
	'use strict';

	$.tablesorter.addParser({
		id: 'image',
		is: function(){
			return false;
		},
		format: function(s, table, cell) {
			return $(cell).find('img').attr(table.config.imgAttr || 'alt') || s;
		},
		parsed : true, // filter widget flag
		type: 'text'
	});

})(jQuery);

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
jquery-tablesorter-1.19.3 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js
jquery-tablesorter-1.19.2 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js
jquery-tablesorter-1.19.1 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js
jquery-tablesorter-1.19.0 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js
jquery-tablesorter-1.18.5 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js
jquery-tablesorter-1.18.4 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js
jquery-tablesorter-1.18.3 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js
jquery-tablesorter-1.18.2 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js
jquery-tablesorter-1.18.1 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js
jquery-tablesorter-1.18.0 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js
jquery-tablesorter-1.17.4 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js
jquery-tablesorter-1.17.3 vendor/assets/javascripts/jquery-tablesorter/parsers/parser-image.js