golden-theme 0.0.2 → 0.0.3

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: cd5fdd8028f9c69c2c4ecec645dc9a7d067c258f
4
- data.tar.gz: 3ab216688d497e5066e5cb69e6f2054380e41c02
3
+ metadata.gz: f7c801e23307f733a867f0a950e8aa598a8d6518
4
+ data.tar.gz: 00a894166f8ede1a311c6ac078d7b4c2e28092a3
5
5
  SHA512:
6
- metadata.gz: 2288fb74a13f1d5d996987c7d1e18ad5abc0e2e384faf5d2789ce1cd37ac04d56365af4cfcff48fbb26399d972f25d94a442a6a075f07c9bdb929af37a666115
7
- data.tar.gz: 073de71bebbdbe64a4729bf3e45f24c89a26b3828ccbc38e2da93e29ee3266eb34906ff5702339d65aac52f82fb598acc31a980ac9a9b6b58ee4e11be14acb8b
6
+ metadata.gz: 5c58e234fc448a0adc4d1e8fd930d8169b3f221bc6724ba8fd304579c7f5e031a4d6c770c95ecd518bf07280e8a6607436f3fe08d120072528071612f6fd1467
7
+ data.tar.gz: 260bee677f6083ad10b1af446208a8a0e21e3a33d9c6f9afd2fb63fd078a7d868621becf6c3bbb39fab1c8c27a9b7ef4f0b07d7571d56b74c615991c2eed4573
@@ -1,7 +1,9 @@
1
1
  $ ->
2
2
  $('.nav-tabs-ajax')
3
3
  .on 'ajax:beforeSend', 'a[data-toggle="tab"]', ->
4
- $.bench.util.replaceDataTarget $(this), 'Loading...'
4
+ target = $(this).attr('data-target')
5
+ $(target).children().hide()
6
+ $(target).append('<p>Loading...</p>')
5
7
  .on 'ajax:success', 'a[data-toggle="tab"]', (event, data, status, xhr) ->
6
8
  $.bench.util.replaceDataTarget $(this), data
7
9
  $.bench.util.enableChosen()
@@ -1,7 +1,9 @@
1
1
  $ ->
2
2
  $('.nav-tabs-ajax')
3
3
  .on 'ajax:beforeSend', 'a[data-toggle="tab"]', ->
4
- $.bench.util.replaceDataTarget $(this), 'Loading...'
4
+ target = $(this).attr('data-target')
5
+ $(target).children().hide()
6
+ $(target).append('<p>Loading...</p>')
5
7
  .on 'ajax:success', 'a[data-toggle="tab"]', (event, data, status, xhr) ->
6
8
  $.bench.util.replaceDataTarget $(this), data
7
9
  $.bench.util.enableChosen()
@@ -1,5 +1,5 @@
1
1
  module Golden
2
2
  module Theme
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: golden-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tse-Ching Ho
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-29 00:00:00.000000000 Z
11
+ date: 2014-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler