concerto_iframe 0.0.3 → 0.0.4

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: 5e354e2e6ba771ef0dc3efb41cd99ecf68bf23a6
4
- data.tar.gz: f5a151bcac7adfa6419b6a4d08721ad4e0307eaf
3
+ metadata.gz: d30cebefdcd42ebd6d578eb369de70fc28078b31
4
+ data.tar.gz: cb46850fb42f398383071a303d035c30fe0d1010
5
5
  SHA512:
6
- metadata.gz: 90d2efd9eb633c59285d13c7b4f7abab66fe6b37b04504d9cc398db246ba49ee964bb47e7190939303db8052bebaf6faede406049adc93b394afaae1d8768940
7
- data.tar.gz: 2591ef75921d7b0f2a089f838d0a97dfad5b13ada42d79cf080a42172d491628c55ceda6fc9fdcf397137b4cd2df3e52168375d2cd66ac5b8389970a0c8d9907
6
+ metadata.gz: 107d9c500e95aa4acf3fbc14405a27eef57e26724d31082db61bdc1016f736be37d2971a320f7ca5f1e71c02d78ea1316c0a8da2e3c90916a84fb792ceb3e73b
7
+ data.tar.gz: 4c847e9e189caddc5e9d7623a8110058aff2bf08c6eec49f98a8355d54bb1c2b57b7d1d79e8f8f37f3fc5860d9c582030c6d3f3bdf5d9ed838f4417a8229a97f
@@ -1,3 +1,3 @@
1
1
  module ConcertoIframe
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -25,14 +25,14 @@ concerto.frontend.Content.Iframe = function(data) {
25
25
  * @type {number}
26
26
  * @private
27
27
  */
28
- this.field_height_ = data.field.size.height;
28
+ this.field_height_ = parseFloat(data['field']['size']['height']);
29
29
 
30
30
  /**
31
31
  * The width of the field the image is being shown in.
32
32
  * @type {number}
33
33
  * @private
34
34
  */
35
- this.field_width_ = data.field.size.width;
35
+ this.field_width_ = parseFloat(data['field']['size']['width']);
36
36
 
37
37
  /**
38
38
  * The iframe being displayed.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concerto_iframe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marvin Frederickson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-28 00:00:00.000000000 Z
11
+ date: 2014-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails