concerto_iframe 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cb2b9d69f0ca20251a78124aa87e40586176eaf
|
4
|
+
data.tar.gz: 88b0874cf4f5917981e1d626ddd3d2dc64c0061f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae594621f62b2962cc6b2c58140320c096e2329706f690ad7b0c05cf84f1d8500aed24905f059d3e5b3c60bd012c03a3e4ba07aa8508a58369eae8de17c7c77b
|
7
|
+
data.tar.gz: 62adf1db526b313c37131aef3cdae8f3affe4b7bd4b639bec652b0ef94fb4e4f8f008073d17b26c6f10e6a04eaf988278407dbda11ef18e9d19f72a727387d53
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<!--
|
2
|
+
The `concerto-iframe` element provides embedded content
|
3
|
+
-->
|
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>
|
18
|
+
<iframe id="iframe" frameBorder="0"></iframe>
|
19
|
+
</template>
|
20
|
+
|
21
|
+
<script>
|
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() {
|
37
|
+
this.$.iframe.src = this.path;
|
38
|
+
}
|
39
|
+
});
|
40
|
+
</script>
|
41
|
+
</dom-module>
|
42
|
+
<script>
|
43
|
+
ConcertoBehaviors.ContentFactory.registerContent("concerto-iframe", "ConcertoIframe");
|
44
|
+
</script>
|
@@ -1,44 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
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>
|
18
|
-
<iframe id="iframe" frameBorder="0"></iframe>
|
19
|
-
</template>
|
20
|
-
|
21
|
-
<script>
|
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() {
|
37
|
-
this.$.iframe.src = this.path;
|
38
|
-
}
|
39
|
-
});
|
40
|
-
</script>
|
41
|
-
</dom-module>
|
42
|
-
<script>
|
43
|
-
ConcertoBehaviors.ContentFactory.registerContent("concerto-iframe", "ConcertoIframe");
|
44
|
-
</script>
|
1
|
+
<% content_for :head do %>
|
2
|
+
<!-- from concerto-iframe -->
|
3
|
+
<%= tag "link", rel: "import", href: asset_path("concerto_iframe/concerto-iframe.html") %>
|
4
|
+
<!-- end from concerto-iframe -->
|
5
|
+
<% 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.
|
4
|
+
version: 0.0.8
|
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-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -34,6 +34,7 @@ files:
|
|
34
34
|
- LICENSE
|
35
35
|
- README.md
|
36
36
|
- Rakefile
|
37
|
+
- app/assets/html/concerto_iframe/concerto-iframe.html
|
37
38
|
- app/assets/javascripts/concerto_iframe/application.js
|
38
39
|
- app/assets/javascripts/concerto_iframe/iframe.js
|
39
40
|
- app/assets/stylesheets/concerto_iframe/application.css
|
@@ -104,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
105
|
version: '0'
|
105
106
|
requirements: []
|
106
107
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.
|
108
|
+
rubygems_version: 2.4.5
|
108
109
|
signing_key:
|
109
110
|
specification_version: 4
|
110
111
|
summary: custom iframe support for Concerto 2
|