jquery-tablesorter 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown
CHANGED
@@ -3,10 +3,11 @@ jQuery Table Sorter plugin for Rails
|
|
3
3
|
|
4
4
|
Simple integration of jquery-tablesorter into the asset pipeline.
|
5
5
|
|
6
|
-
Current version: 2.3.
|
6
|
+
Current version: 2.3.8(6/5/2012), [documentation]
|
7
7
|
|
8
8
|
Any issue associate with the js/css files, please report to [Mottie's fork].
|
9
9
|
|
10
|
+
|
10
11
|
NOTICE:
|
11
12
|
---
|
12
13
|
|
@@ -65,4 +66,5 @@ $('table.tablesorter').tablesorter()
|
|
65
66
|
```
|
66
67
|
|
67
68
|
[Mottie's fork]: https://github.com/Mottie/tablesorter
|
69
|
+
[documentation]: http://mottie.github.com/tablesorter/docs/index.html
|
68
70
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* TableSorter 2.3.
|
2
|
+
* TableSorter 2.3.8 - Client-side table sorting with ease!
|
3
3
|
* @requires jQuery v1.2.6+
|
4
4
|
*
|
5
5
|
* Copyright (c) 2007 Christian Bach
|
@@ -18,7 +18,7 @@
|
|
18
18
|
$.extend({
|
19
19
|
tablesorter: new function() {
|
20
20
|
|
21
|
-
this.version = "2.3.
|
21
|
+
this.version = "2.3.8";
|
22
22
|
|
23
23
|
var parsers = [], widgets = [];
|
24
24
|
this.defaults = {
|
@@ -640,7 +640,6 @@
|
|
640
640
|
downTime = new Date().getTime();
|
641
641
|
return !c.cancelSelection;
|
642
642
|
}
|
643
|
-
|
644
643
|
// prevent resizable widget from initializing a sort (long clicks are ignored)
|
645
644
|
if (external !== true && (new Date().getTime() - downTime > 500)) { return false; }
|
646
645
|
if (c.delayInit && !c.cache) { buildCache($this[0]); }
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! tableSorter 2.3 widgets - updated 6/
|
1
|
+
/*! tableSorter 2.3 widgets - updated 6/5/2012
|
2
2
|
*
|
3
3
|
* jQuery UI Theme
|
4
4
|
* Column Styles
|
@@ -238,7 +238,11 @@ $.tablesorter.addWidget({
|
|
238
238
|
// Look for regex
|
239
239
|
} else if (regexp.test(val)) {
|
240
240
|
reg2 = regexp.exec(val);
|
241
|
-
|
241
|
+
try {
|
242
|
+
ff = new RegExp(reg2[1], reg2[2]).test(xi);
|
243
|
+
} catch (err) {
|
244
|
+
ff = false;
|
245
|
+
}
|
242
246
|
// Look for quotes to get an exact match
|
243
247
|
} else if (/[\"|\']$/.test(val) && xi === val.replace(/(\"|\')/g,'')) {
|
244
248
|
r = (r) ? true : false;
|
@@ -311,6 +315,9 @@ $.tablesorter.addWidget({
|
|
311
315
|
fr += (sel ? '></select>' : '>') + '</td>';
|
312
316
|
}
|
313
317
|
$t
|
318
|
+
.bind('addRows updateCell update appendCache', function(){
|
319
|
+
findRows();
|
320
|
+
})
|
314
321
|
.find('thead').eq(0).append(fr += '</tr>')
|
315
322
|
.find('input.' + css).bind('keyup search', function(e, delay){
|
316
323
|
// ignore arrow and meta keys; allow backspace
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-tablesorter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -63,7 +63,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
63
|
version: '0'
|
64
64
|
segments:
|
65
65
|
- 0
|
66
|
-
hash:
|
66
|
+
hash: 260395834157096892
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
68
|
none: false
|
69
69
|
requirements:
|
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
72
|
version: '0'
|
73
73
|
segments:
|
74
74
|
- 0
|
75
|
-
hash:
|
75
|
+
hash: 260395834157096892
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
78
|
rubygems_version: 1.8.23
|