mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
View: cleanup & merge
This commit is contained in:
parent
8a91e8e7ef
commit
093ba477ce
File diff suppressed because it is too large
Load Diff
BIN
docs/img/grid-default-thumb.png
Normal file
BIN
docs/img/grid-default-thumb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 959 B |
BIN
docs/img/new-product-banner.png
Normal file
BIN
docs/img/new-product-banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
docs/img/sale-banner.png
Normal file
BIN
docs/img/sale-banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 674 B |
@ -1,11 +1,10 @@
|
||||
/* Widget: view (beta) - updated 2/7/2015 (v2.19.0) */
|
||||
/*
|
||||
/* Widget: view (beta) - updated 10/26/2015 (v2.23.6) */
|
||||
/* By Justin F. Hallett (https://github.com/TheSin-)
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
*/
|
||||
/*jshint browser:true, jquery:true, unused:false */
|
||||
/*global jQuery: false */
|
||||
;
|
||||
(function($) {
|
||||
;(function($) {
|
||||
'use strict';
|
||||
|
||||
var ts = $.tablesorter,
|
||||
@ -98,7 +97,6 @@
|
||||
$.each(v.attributes, function(idx, attr) {
|
||||
attrs[attr.nodeName] = attr.nodeValue;
|
||||
});
|
||||
console.log(v, attrs);
|
||||
var content = $(v).html();
|
||||
// Add 2 spans, one is dropped when using .html()
|
||||
var span = $('<span />').append($('<span/>', attrs).append(content));
|
||||
@ -190,4 +188,5 @@
|
||||
view.remove(c, wo);
|
||||
}
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
|
Loading…
Reference in New Issue
Block a user