aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node_modules/components-data/youtube-channel.json2
-rwxr-xr-xnode_modules/montage/examples/youtube-channel-example/index.html11
2 files changed, 4 insertions, 9 deletions
diff --git a/node_modules/components-data/youtube-channel.json b/node_modules/components-data/youtube-channel.json
index 8affffba..c909fd1b 100644
--- a/node_modules/components-data/youtube-channel.json
+++ b/node_modules/components-data/youtube-channel.json
@@ -7,7 +7,7 @@
7 7
8 "properties": [ 8 "properties": [
9 { 9 {
10 "name": "channelUrl", 10 "name": "channel",
11 "type": "string", 11 "type": "string",
12 "default": "" 12 "default": ""
13 } 13 }
diff --git a/node_modules/montage/examples/youtube-channel-example/index.html b/node_modules/montage/examples/youtube-channel-example/index.html
index b313d5d8..f3a0592a 100755
--- a/node_modules/montage/examples/youtube-channel-example/index.html
+++ b/node_modules/montage/examples/youtube-channel-example/index.html
@@ -14,7 +14,8 @@
14 "player": { 14 "player": {
15 "prototype": "montage/ui/youtube-channel.reel", 15 "prototype": "montage/ui/youtube-channel.reel",
16 "properties": { 16 "properties": {
17 "element": {"#": "player"} 17 "element": {"#": "player"},
18 "channel": "drive"
18 } 19 }
19 }, 20 },
20 21
@@ -23,12 +24,6 @@
23 "properties": { 24 "properties": {
24 "element": {"#": "url"}, 25 "element": {"#": "url"},
25 "value": "http://www.youtube.com/TEDEducation" 26 "value": "http://www.youtube.com/TEDEducation"
26 },
27 "bindings": {
28 "value": {
29 "boundObject": {"@": "player"},
30 "boundObjectPropertyPath": "channelUrl"
31 }
32 } 27 }
33 } 28 }
34 } 29 }
@@ -37,7 +32,7 @@
37<body> 32<body>
38 <div class="youtube-channel-example"> 33 <div class="youtube-channel-example">
39 <div id="title">Youtube Channel</div> 34 <div id="title">Youtube Channel</div>
40 <input type="text" data-montage-id="url" placeholder="Channel URL" class="youtube-channel-example-url"> 35 <input type="text" data-montage-id="url" placeholder="Channel Name" class="youtube-channel-example-url">
41 <div data-montage-id="player"></div> 36 <div data-montage-id="player"></div>
42 </div> 37 </div>
43</body> 38</body>