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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f34ccc9db8030436e8628fab32695362d239038
4
- data.tar.gz: 9d8413dbb98bc5ebc55cefe4a7f3dccf7db22fe3
3
+ metadata.gz: deccfb62831376470f27c4d53b63f8f842019255
4
+ data.tar.gz: 07646e817d16c86612cdb725986ee6994b37f9e4
5
5
  SHA512:
6
- metadata.gz: 8fd879c37f7f56c7effd08e467e4e4e5cd0886d6647f60731e1b0f3388e4d6fbf622937e4c409babefc89aa2fd6ca91e3a973db89dc8775b3bc15af1b84af169
7
- data.tar.gz: b744213c5cc55ee51bd544137a614a61c2c4e34d53327c1a39b6e3a8d94859424a61f5e5f9bc5001512c5ae3d9012cdf047d9a538427a871b40fead4ca6b5074
6
+ metadata.gz: df934f01d4770becc190f3187fa5d4fc8762de5d08ad023b643072ad22b4f48f2f502c90fab1c7e8fe650eb58f8a68df4f930254565f31aa21c82b13c92903e2
7
+ data.tar.gz: 8076f9f0ad73c0d4845b21bdc6457cb1df4eccbc48ac102410faf7031823c209a43a7a05874b789e93e52e7ddf3e7ac2ddee2e9e23af3e2b900fcfe2a3d4f8d9
@@ -1,5 +1,5 @@
1
1
  // author: Samuel Mueller
2
- // version: 0.0.4
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, tds, thead, tr;
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
- tds = element.find("td");
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));
@@ -1,3 +1,3 @@
1
1
  module AngularTable
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
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
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-06-23 00:00:00.000000000 Z
11
+ date: 2013-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler