aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage
diff options
context:
space:
mode:
authorFrançois Frisch2012-03-18 22:25:35 -0700
committerFrançois Frisch2012-03-18 22:25:46 -0700
commit54eb5672a5f43fb157aa7ecb88b0ba8a06296b86 (patch)
tree2d88e69ada0623973d7d25b3abf823df84f02cd3 /node_modules/montage
parent44d75ed17d56055ed9dbb8f91867bbdbc68924fa (diff)
downloadninja-54eb5672a5f43fb157aa7ecb88b0ba8a06296b86.tar.gz
using channel name rather than url
Diffstat (limited to 'node_modules/montage')
-rwxr-xr-xnode_modules/montage/examples/youtube-channel-example/index.html11
1 files changed, 3 insertions, 8 deletions
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>