mumuki-styles 1.16.1 → 1.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/mumuki-styles.js +11 -3
- data/lib/mumuki/styles/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8895fba6fca0267ef8101b5a35e77f3fef2e49a9
|
4
|
+
data.tar.gz: 8153cb208d85ab08d34d1c02a7114e800b95aa9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e93d28bc6ff9515ef458ea3af2515241c6421c704ce5f3f9e2d89850ac42f29a481897c6d2dda458f573f8cb15f7f4061bd56ce3a1f5824a0dfd865309a9e40
|
7
|
+
data.tar.gz: 0ed4e0fc1d7006f7faa6ab2892b242439c11d299456cce92aec557a6de2e5b94ffa5bd3136bc235363ff8ee4ff2a8ce3b3c6a8dd914023982300799e7d24de24
|
@@ -13169,13 +13169,21 @@ mumuki.load(function () {
|
|
13169
13169
|
});
|
13170
13170
|
}
|
13171
13171
|
|
13172
|
+
function generateSpans($tds) {
|
13173
|
+
$tds.each(function (i) {
|
13174
|
+
var $td = $($tds[i]);
|
13175
|
+
var text = $td.text();
|
13176
|
+
$td.empty();
|
13177
|
+
$td.append('<span>' + text + '</span>');
|
13178
|
+
});
|
13179
|
+
}
|
13180
|
+
|
13172
13181
|
$.fn.renderPrerenderedSqlTable = function () {
|
13173
13182
|
var self = this;
|
13174
13183
|
self.each(function (i) {
|
13175
13184
|
var $table = $(self[i]).find('table');
|
13176
|
-
|
13177
|
-
$table.find('
|
13178
|
-
generatePKsAndFKs($trs);
|
13185
|
+
generatePKsAndFKs($table.find('thead > tr'));
|
13186
|
+
generateSpans($table.find('tbody > tr > td'));
|
13179
13187
|
});
|
13180
13188
|
return self;
|
13181
13189
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-styles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.16.
|
4
|
+
version: 1.16.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Federico Scarpa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|