togostanza 1.0.4 → 1.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: 8c1dc95d6a915bd92ef7659bf5c55cc8f1a573cc
4
- data.tar.gz: b5746fb53af9b68665610b48727d8a091822e250
3
+ metadata.gz: 2be783949cf427be67ec3a47efe59ed5f91f5b94
4
+ data.tar.gz: 86cebe957aa1608b6baf2ae48d57e9ccf9aea223
5
5
  SHA512:
6
- metadata.gz: 6c621318c64fec3bdfb751701917c8dfefa6dffb7937264acc40402d4ab0fba2f1b91a0a938409023751778e3c16a303bd8b8b2febdd4024c1abe2e5e77976bd
7
- data.tar.gz: fd474f00337569b0d9b180cb7798a441f1c86e1542755e1560278d6c1bc60805c78f46a79f279d776233b3058ac10720c92d744ac5edcda6118dbc5874cc49e5
6
+ metadata.gz: 6b5d7eea816c3f1ecd30ab1f21e0eaf66a52b85edf141a33c1e51d71fdc14e894a00cb1a2a3bf40c5555cd21b3c7628e6d22a378c63aa22f6bf175490b7aeff9
7
+ data.tar.gz: 5114732733d67d2166c9bdd49fb277f8acc83f23639393dfd07636141ab2375916438602df307a74e1a07b7ca1c22fc4de4ff0ea0c11f88c191db55a01a2639e
data/assets/stanza.js CHANGED
@@ -16,13 +16,18 @@ jQuery(function($) {
16
16
 
17
17
  var src = data.stanza + '?' + $.param(params);
18
18
 
19
- $('<iframe></iframe>')
20
- .attr({src: src, frameborder: 0})
21
- .attr({id: 'stanza-frame-' + index})
22
- .attr({name: 'stanza-frame-' + index})
23
- .width(data.stanzaWidth || '100%')
24
- .height(data.stanzaHeight)
25
- .appendTo($this);
19
+
20
+ setTimeout(function(){
21
+ $("<iframe></iframe>")
22
+ .addClass('unload')
23
+ .attr({src: src, frameborder: 0, id: 'stanza-frame-' + index, name: 'stanza-frame-' + index})
24
+ .width(data.stanzaWidth || '100%')
25
+ .height(data.stanzaHeight)
26
+ .appendTo($this)
27
+ .load(function(){
28
+ $(this).removeClass("unload");
29
+ });
30
+ }, index * 500);
26
31
  });
27
32
 
28
33
  window.onmessage = function(e) {
@@ -1,3 +1,3 @@
1
1
  module TogoStanza
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: togostanza
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keita Urashima
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-03 00:00:00.000000000 Z
11
+ date: 2014-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport