diff options
author | Valerio Virgillito | 2012-03-19 15:23:32 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-03-19 15:23:32 -0700 |
commit | 38a3258239aef114c23fe0ce179257639a74d96b (patch) | |
tree | 8ac886989eac57126bc48099ec395c9f14c9c829 /node_modules/montage/examples | |
parent | e9244d5a0f681ddde5896392c17738add2948687 (diff) | |
parent | f9e31800b1dedd7904e6e23c575c94ed4a72abdb (diff) | |
download | ninja-38a3258239aef114c23fe0ce179257639a74d96b.tar.gz |
Merge branch 'master' of github.com:francoisfrisch/ninja-internal into montage-integration
Diffstat (limited to 'node_modules/montage/examples')
-rwxr-xr-x | node_modules/montage/examples/youtube-channel-example/index.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/node_modules/montage/examples/youtube-channel-example/index.html b/node_modules/montage/examples/youtube-channel-example/index.html index f3a0592a..132d0d5a 100755 --- a/node_modules/montage/examples/youtube-channel-example/index.html +++ b/node_modules/montage/examples/youtube-channel-example/index.html | |||
@@ -15,7 +15,7 @@ | |||
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 | "channelUrl": "http://www.youtube.com/TEDEducation" |
19 | } | 19 | } |
20 | }, | 20 | }, |
21 | 21 | ||
@@ -24,6 +24,12 @@ | |||
24 | "properties": { | 24 | "properties": { |
25 | "element": {"#": "url"}, | 25 | "element": {"#": "url"}, |
26 | "value": "http://www.youtube.com/TEDEducation" | 26 | "value": "http://www.youtube.com/TEDEducation" |
27 | }, | ||
28 | "bindings": { | ||
29 | "value": { | ||
30 | "boundObject": {"@": "player"}, | ||
31 | "boundObjectPropertyPath": "channelUrl" | ||
32 | } | ||
27 | } | 33 | } |
28 | } | 34 | } |
29 | } | 35 | } |
@@ -32,7 +38,7 @@ | |||
32 | <body> | 38 | <body> |
33 | <div class="youtube-channel-example"> | 39 | <div class="youtube-channel-example"> |
34 | <div id="title">Youtube Channel</div> | 40 | <div id="title">Youtube Channel</div> |
35 | <input type="text" data-montage-id="url" placeholder="Channel Name" class="youtube-channel-example-url"> | 41 | <input type="text" data-montage-id="url" placeholder="Channel URL" class="youtube-channel-example-url"> |
36 | <div data-montage-id="player"></div> | 42 | <div data-montage-id="player"></div> |
37 | </div> | 43 | </div> |
38 | </body> | 44 | </body> |