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 +4 -4
- data/assets/stanza.js +12 -7
- data/lib/togostanza/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2be783949cf427be67ec3a47efe59ed5f91f5b94
|
4
|
+
data.tar.gz: 86cebe957aa1608b6baf2ae48d57e9ccf9aea223
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
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) {
|
data/lib/togostanza/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2014-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|