angular-table 0.0.4 → 0.0.5
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/angular-table.js +3 -4
- data/lib/angular-table/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: deccfb62831376470f27c4d53b63f8f842019255
|
4
|
+
data.tar.gz: 07646e817d16c86612cdb725986ee6994b37f9e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df934f01d4770becc190f3187fa5d4fc8762de5d08ad023b643072ad22b4f48f2f502c90fab1c7e8fe650eb58f8a68df4f930254565f31aa21c82b13c92903e2
|
7
|
+
data.tar.gz: 8076f9f0ad73c0d4845b21bdc6457cb1df4eccbc48ac102410faf7031823c209a43a7a05874b789e93e52e7ddf3e7ac2ddee2e9e23af3e2b900fcfe2a3d4f8d9
|
@@ -1,5 +1,5 @@
|
|
1
1
|
// author: Samuel Mueller
|
2
|
-
// version: 0.0.
|
2
|
+
// version: 0.0.5
|
3
3
|
// license: MIT
|
4
4
|
// homepage: http://github.com/ssmm/angular-table
|
5
5
|
(function() {
|
@@ -41,15 +41,14 @@
|
|
41
41
|
restrict: "AC",
|
42
42
|
scope: true,
|
43
43
|
compile: function(element, attributes, transclude) {
|
44
|
-
var bodyDefinition, customHeaderMarkup, setup, tbody,
|
44
|
+
var bodyDefinition, customHeaderMarkup, setup, tbody, thead, tr;
|
45
45
|
|
46
46
|
validateInput(attributes);
|
47
47
|
thead = element.find("thead");
|
48
48
|
tbody = element.find("tbody");
|
49
|
-
|
49
|
+
bodyDefinition = metaCollector.collectBodyDefinition(tbody);
|
50
50
|
if (thead[0]) {
|
51
51
|
customHeaderMarkup = metaCollector.collectCustomHeaderMarkup(thead);
|
52
|
-
bodyDefinition = metaCollector.collectBodyDefinition(tbody);
|
53
52
|
tr = thead.find("tr");
|
54
53
|
tr.remove();
|
55
54
|
thead.append(constructHeader(customHeaderMarkup, bodyDefinition.tds));
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular-table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Mueller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|