card-mod-tabs 0.16.0 → 0.17.0

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
  SHA256:
3
- metadata.gz: 40a7263766fe3c2b40fd078ee2c5823344357bfed0ecd426f212686f8f608f0f
4
- data.tar.gz: cef3f97e449c65eb758c38ae17eb237e338ccbdb694333c250d830aa9191c8e6
3
+ metadata.gz: a8b1ce6ca206463efa9e033264cf8713d5e335d826fa73148f554c8fc8975b78
4
+ data.tar.gz: 1e076dc4982a896873fe159a57c97d10b2f69da55d53f8740ac960b0ea40640d
5
5
  SHA512:
6
- metadata.gz: 1b46ab4934714ad02161f02e2c521c663e36e19fbb137840aaab9e3fc1ee9c1afa9d3beb6eed59a30ff59e729e87c9dd3f8319da2305ade5fe4f03f71782d22e
7
- data.tar.gz: fc7eb2ceffe97fae8d065ee7ef7a9ce0cc09eb7d4eee446fb2fa334c7eb7413464b79507ec4d2be6c9e17dace6a7fc8c2960a9ff3a8b89cee1d53e00bd9a42b2
6
+ metadata.gz: ebaa606beee901439298988631af2f9466025cb5993099cebd778e55a9b16a077af4eaa7d03a324216f6fcd44f16c115ffc51b9938d7d6877fb594ebf07190b6
7
+ data.tar.gz: 4f886727eba261b5ea486387dcc5676cf9c836bb725823eb2065450eb2b7e55e3ea09e0df0d91039bd76f58ac609e5dd519443d4715a7d8679bff2ee08b091de
@@ -2,9 +2,11 @@ $(window).ready ->
2
2
  $('body').on 'show.bs.tab', 'a.load[data-bs-toggle="tab"][data-url]', (e) ->
3
3
  tab_id = $(e.target).attr('href')
4
4
  url = $(e.target).data('url')
5
+ tabname = $(this).data "tabName"
5
6
  $(e.target).removeClass('load')
6
7
  $.ajax
7
8
  url: url
8
9
  success: (html) ->
9
10
  $(tab_id).append(html)
10
- decko.contentLoaded($(tab_id), $(this))
11
+ window.history.pushState("tab", "", "?tab=" + tabname)
12
+ decko.contentLoaded $(tab_id), $(this)
@@ -1,2 +1,2 @@
1
1
  // tab.js.coffee
2
- (function(){$(window).ready(function(){return $("body").on("show.bs.tab",'a.load[data-bs-toggle="tab"][data-url]',function(t){var a,r;return a=$(t.target).attr("href"),r=$(t.target).data("url"),$(t.target).removeClass("load"),$.ajax({url:r,success:function(t){return $(a).append(t),decko.contentLoaded($(a),$(this))}})})})}).call(this);
2
+ (function(){$(window).ready(function(){return $("body").on("show.bs.tab",'a.load[data-bs-toggle="tab"][data-url]',function(t){var a,e,r;return a=$(t.target).attr("href"),r=$(t.target).data("url"),e=$(this).data("tabName"),$(t.target).removeClass("load"),$.ajax({url:r,success:function(t){return $(a).append(t),window.history.pushState("tab","","?tab="+e),decko.contentLoaded($(a),$(this))}})})})}).call(this);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-tabs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-11-18 00:00:00.000000000 Z
13
+ date: 2024-06-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.106.0
21
+ version: 1.107.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.106.0
28
+ version: 1.107.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: card-mod-bootstrap
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.16.0
35
+ version: 0.17.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.16.0
42
+ version: 0.17.0
43
43
  description: ''
44
44
  email:
45
45
  - info@decko.org
@@ -76,14 +76,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '2.5'
79
+ version: '3.0'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubygems_version: 3.4.10
86
+ rubygems_version: 3.5.10
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: tabs