tablets 0.3.4 → 0.3.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: 8913447e8e90a68f62572e09b15021e29735d1d8
4
- data.tar.gz: c89c42ec3ac921e0e35390f57b493977992bfec0
3
+ metadata.gz: 1564751a538edf09cb61d1c929361c6621782589
4
+ data.tar.gz: da118f76f81317587d6c3921bac7d59a50968ded
5
5
  SHA512:
6
- metadata.gz: eb8b28dfa772a35282cfae6e82858146db98fa9a55f9c74214a2dbdd504191303f6f75239b18364426d093701765b65c8cec9eae79d8ea942d56f7399fb3445e
7
- data.tar.gz: bb2bb9bc0b285e077061a176416e6981d4bbbefd007efe14898dcc613746104129fd51cf89f491327e2948cb5d8cddf303cfcfa2f05080ddd00490eb58663093
6
+ metadata.gz: dcaf12f9cdb95379c9de4e55150c5f7bed84194c2c559220842ba273dc30bb3b34833ce6b89e9aad94f57902a6e23f64a54ef55d69b7e03e1a5746825f79e22f
7
+ data.tar.gz: c65b3c6e8a53b9833c70fe0b8b091a90673b4b658606d8c40938c00055079ed4c37f54e63a757b42e2a987acb89ab0eaecb3439207ad3e200b5e580567d73b8c
@@ -5,8 +5,12 @@ class Tablets.Tablet
5
5
 
6
6
  Tablets.set(@id, this)
7
7
 
8
- $ =>
9
- @initTable()
8
+ if Turbolinks && Turbolinks.supported
9
+ $(document).one 'page:change', =>
10
+ @initTable()
11
+ else
12
+ $ =>
13
+ @initTable()
10
14
 
11
15
  dataTableOptions: ->
12
16
  $.extend {}, @options,
@@ -1,3 +1,3 @@
1
1
  module Tablets
2
- VERSION = '0.3.4'
2
+ VERSION = '0.3.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tablets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yevhen Shemet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-11 00:00:00.000000000 Z
11
+ date: 2015-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails