concerto_iframe 0.0.6 → 0.0.7

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: 372ce5f2ba07aefb851856323a81ba3f8d27dde6
4
- data.tar.gz: df9bbc226ea1d814764ff4289de911652e6a36e3
3
+ metadata.gz: fb799d059bb1d029f51b444280ce6bbb0e776851
4
+ data.tar.gz: 9e71c2623b19780d3e56d132ab8b7dfe8fa5e4c1
5
5
  SHA512:
6
- metadata.gz: ef34055ff31d3b654988c29303809aafd15cda222a13969abd4a5c11f96f24e98f849ab882058a47ce6487d895809a55acb0da5a43c8645edf5cfecd372b5d84
7
- data.tar.gz: a1ffe9cdc942c27b5eab8bafd4de176e185cb287a21e8977fbb6a0b91aed34bbd62de0cd2624fdd11d7aa0d28b8cf35d0ffbe1f87d174ba65179d32a4ec241dc
6
+ metadata.gz: 1ec0249b48e12a18e177911955b88922b0ac82b2ba6e254b9d8ed5b9e3c6a175287f304298337960614a585610647d65d2a3ee3a3d20622b50d5d4d097454913
7
+ data.tar.gz: d93967c4b322a309ec9f0c1819875720a4bf76eff3a7a0a95be90f3c057ac6f6cdebfb2cf274a8510be36c5ad7bbfc8e3bd813b8179b9ac7bf3e31541561ba52
@@ -1,35 +1,44 @@
1
1
  <!--
2
- The `concerto-iframe` element provides embedded content.
3
- @element concerto-content
4
- @status alpha
2
+ The `concerto-iframe` element provides embedded content
5
3
  -->
6
- <polymer-element name="concerto-iframe" attributes="path" constructor="ConcertoIframe" extends="concerto-content">
7
- <template>
8
- <style>
9
- :host {
10
- display: block;
11
- width: 100%;
12
- height: 100%;
13
- }
14
- :host(.core-transition) {
15
- overflow: hidden;
16
- }
17
- #iframe {
18
- width: 100%;
19
- height: 100%;
20
- }
21
- </style>
4
+ <dom-module id="concerto-iframe">
5
+ <style>
6
+ :host {
7
+ display: block;
8
+ width: 100%;
9
+ height: 100%;
10
+ }
11
+ #iframe {
12
+ width: 100%;
13
+ height: 100%;
14
+ }
15
+ </style>
16
+
17
+ <template>
22
18
  <iframe id="iframe" frameBorder="0"></iframe>
23
19
  </template>
24
20
 
25
21
  <script>
26
- Polymer({
27
- domReady: function() {
22
+ ConcertoIframe = Polymer({
23
+ is: "concerto-iframe",
24
+
25
+ behaviors: [ConcertoBehaviors.BaseContent],
26
+
27
+ properties: {
28
+ baseUrl: String,
29
+ path: {
30
+ type: String,
31
+ observer: 'pathChanged'
32
+ },
33
+ config: Object
34
+ },
35
+
36
+ pathChanged: function() {
28
37
  this.$.iframe.src = this.path;
29
38
  }
30
39
  });
31
40
  </script>
32
- </polymer-element>
33
- <script>
34
- registerContentType("concerto-iframe", "ConcertoIframe");
41
+ </dom-module>
42
+ <script>
43
+ ConcertoBehaviors.ContentFactory.registerContent("concerto-iframe", "ConcertoIframe");
35
44
  </script>
@@ -1,4 +1,4 @@
1
1
 
2
2
  module ConcertoIframe
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marvin Frederickson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-06 00:00:00.000000000 Z
11
+ date: 2015-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.4.5
107
+ rubygems_version: 2.2.3
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: custom iframe support for Concerto 2