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 +4 -4
- data/app/views/frontend/_concerto_iframe.html +33 -24
- data/lib/concerto_iframe/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb799d059bb1d029f51b444280ce6bbb0e776851
|
4
|
+
data.tar.gz: 9e71c2623b19780d3e56d132ab8b7dfe8fa5e4c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
<
|
7
|
-
<
|
8
|
-
|
9
|
-
:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
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
|
-
|
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
|
-
</
|
33
|
-
<script>
|
34
|
-
|
41
|
+
</dom-module>
|
42
|
+
<script>
|
43
|
+
ConcertoBehaviors.ContentFactory.registerContent("concerto-iframe", "ConcertoIframe");
|
35
44
|
</script>
|
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.
|
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-
|
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.
|
107
|
+
rubygems_version: 2.2.3
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
110
|
summary: custom iframe support for Concerto 2
|