spurs 0.0.5.alpha.1 → 0.0.5.alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,24 +15,24 @@ $(document).ready(function() {
15
15
  });
16
16
  }
17
17
  };
18
-
18
+
19
19
  $(window).load(updateTables);
20
20
  $(window).bind("resize", updateTables);
21
-
22
-
21
+
22
+
23
23
  function splitTable(original)
24
24
  {
25
25
  original.wrap("<div class='table-wrapper' />");
26
-
26
+
27
27
  var copy = original.clone();
28
28
  copy.find("td:not(.pin_for_mobile), th:not(.pin_for_mobile)").css("display", "none");
29
29
  copy.removeClass("responsive");
30
-
30
+
31
31
  original.closest(".table-wrapper").append(copy);
32
32
  copy.wrap("<div class='pinned' />");
33
33
  original.wrap("<div class='scrollable' />");
34
34
  }
35
-
35
+
36
36
  function unsplitTable(original) {
37
37
  original.closest(".table-wrapper").find(".pinned").remove();
38
38
  original.unwrap();
@@ -12,6 +12,6 @@
12
12
  //
13
13
  //= require ./beyond_bootstrap/all
14
14
 
15
- $().ready(function(){
16
- $('table.table').addClass('responsive');
17
- });
15
+ //$().ready(function(){
16
+ // $('table.responsive').addClass('responsive');
17
+ //});
@@ -6,31 +6,32 @@ table
6
6
  @media only screen and (max-width: 767px)
7
7
  table.responsive
8
8
  margin-bottom: 0
9
- .scrollable, .pinned
10
- table
11
- td, th
12
- line-height: 21px
13
- .pinned
14
- position: absolute
15
- left: 0
16
- top: 0
17
- background: #fff
18
- width: 200px
9
+ .table-wrapper
10
+ .scrollable, .pinned
11
+ table
12
+ td, th
13
+ line-height: 21px
14
+ .pinned
15
+ position: absolute
16
+ left: 0
17
+ top: 0
18
+ background: #fff
19
+ width: 200px
19
20
 
20
- overflow: hidden
21
- overflow-x: scroll
22
- //border-right: 1px solid #ccc
23
- //border-left: 1px solid #ccc
24
- table
25
- border-right: none
26
- border-left: none
27
- width: 100%
28
- .show_for_pinned
29
- display: table-cell
30
- .hide_for_pinned
31
- display: none
32
- th, td
33
- white-space: nowrap
21
+ overflow: hidden
22
+ overflow-x: scroll
23
+ //border-right: 1px solid #ccc
24
+ //border-left: 1px solid #ccc
25
+ table
26
+ border-right: none
27
+ border-left: none
28
+ width: 100%
29
+ .show_for_pinned
30
+ display: table-cell
31
+ .hide_for_pinned
32
+ display: none
33
+ th, td
34
+ white-space: nowrap
34
35
 
35
36
  div.table-wrapper
36
37
  position: relative
@@ -68,7 +68,7 @@ module Spurs
68
68
  end
69
69
  flash.clear
70
70
 
71
- logger.debug("MESSAGE HASH >>#{message_hash.to_json}")
71
+ #logger.debug("MESSAGE HASH >>#{message_hash.to_json}")
72
72
 
73
73
 
74
74
  #process the message hash now
data/lib/spurs/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Spurs
2
- VERSION = "0.0.5.alpha.1"
2
+ VERSION = "0.0.5.alpha.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spurs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5.alpha.1
4
+ version: 0.0.5.alpha.2
5
5
  prerelease: 6
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-16 00:00:00.000000000 Z
12
+ date: 2012-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -187,7 +187,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
187
187
  version: '0'
188
188
  segments:
189
189
  - 0
190
- hash: -3368848817584840058
190
+ hash: -1938495796542850974
191
191
  required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  none: false
193
193
  requirements: