aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage-google
diff options
context:
space:
mode:
authorArmen Kesablyan2012-05-14 11:45:11 -0700
committerArmen Kesablyan2012-05-14 11:45:11 -0700
commit9e6c0a247bd2f14d92278bcd97fff40277b71667 (patch)
tree4194388c03814b9168922dbf2907edf426295874 /node_modules/montage-google
parent9fc3b70bf57e10846e71808c6041fbc339a435d1 (diff)
parent27f4cacb39de1c2e3910748dadc9fc16d0655480 (diff)
downloadninja-9e6c0a247bd2f14d92278bcd97fff40277b71667.tar.gz
Merge branch 'refs/heads/masterDomArc' into binding
Diffstat (limited to 'node_modules/montage-google')
-rw-r--r--node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html89
-rw-r--r--node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.js21
-rw-r--r--node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.html79
-rw-r--r--node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.js179
-rw-r--r--node_modules/montage-google/map.reel/map.css9
-rw-r--r--node_modules/montage-google/map.reel/map.html46
-rw-r--r--node_modules/montage-google/map.reel/map.js289
-rwxr-xr-xnode_modules/montage-google/package.json14
-rw-r--r--node_modules/montage-google/picasa-carousel.reel/image.reel/image.html39
-rw-r--r--node_modules/montage-google/picasa-carousel.reel/image.reel/image.js20
-rwxr-xr-xnode_modules/montage-google/picasa-carousel.reel/picasa-carousel.css41
-rwxr-xr-xnode_modules/montage-google/picasa-carousel.reel/picasa-carousel.html169
-rw-r--r--node_modules/montage-google/picasa-carousel.reel/picasa-carousel.js151
-rw-r--r--node_modules/montage-google/youtube-channel.reel/youtube-channel.html126
-rw-r--r--node_modules/montage-google/youtube-channel.reel/youtube-channel.js242
-rw-r--r--node_modules/montage-google/youtube-player.reel/youtube-player.html25
-rw-r--r--node_modules/montage-google/youtube-player.reel/youtube-player.js216
17 files changed, 1755 insertions, 0 deletions
diff --git a/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html b/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html
new file mode 100644
index 00000000..6b2e51e2
--- /dev/null
+++ b/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html
@@ -0,0 +1,89 @@
1<!DOCTYPE html>
2<html>
3<head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>Feed Entry</title>
6 <script type="text/montage-serialization">
7{
8 "title": {
9 "module": "montage/ui/dynamic-text.reel",
10 "name": "DynamicText",
11 "properties": {
12 "element": {"#": "entry-title"}
13 },
14 "bindings": {
15 "value": {
16 "boundObject": {"@": "owner"},
17 "boundObjectPropertyPath": "entry.title",
18 "oneway": true
19 }
20 }
21 },
22 "entryLink": {
23 "module": "montage/ui/anchor.reel",
24 "name": "Anchor",
25 "properties": {
26 "element": {"#": "entry-url"}
27 },
28 "bindings": {
29 "href": {
30 "boundObject": {"@": "owner"},
31 "boundObjectPropertyPath": "entry.link",
32 "oneway": true
33 }
34 }
35 },
36 "description": {
37 "module": "montage/ui/dynamic-text.reel",
38 "name": "DynamicText",
39 "properties": {
40 "element": {"#": "entry-description"}
41 },
42 "bindings": {
43 "value": {
44 "boundObject": {"@": "owner"},
45 "boundObjectPropertyPath": "entry.contentSnippet",
46 "oneway": true
47 }
48 }
49 },
50 "owner": {
51 "module": "montage-google/feed-reader/feed-entry.reel",
52 "name": "FeedEntry",
53 "properties": {
54 "element": {"#": "feed-entry"}
55 }
56 }
57}
58 </script>
59
60 <style>
61 .feed-entry {
62 /*padding: 2px;*/
63 /*margin: 3px 0;*/
64 }
65 .feed-entry h2 {
66 margin-top: 0px;
67 font-size: 24px;
68 line-height: 24px;
69 margin-bottom: 12px;
70 }
71 .feed-entry .entry-title {
72 font-weight: bold;
73 }
74 .feed-entry .entry-url {
75 text-decoration: none;
76 }
77 </style>
78
79
80</head>
81<body>
82 <div class="feed-entry" id="feed-entry">
83
84 <a target="_blank" id="entry-url" class="entry-url"><h2 id="entry-title" class="entry-title"></h2></a>
85 <p id="entry-description" class="entry-description"></p>
86 </div>
87
88</body>
89</html>
diff --git a/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.js b/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.js
new file mode 100644
index 00000000..8fdb3860
--- /dev/null
+++ b/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.js
@@ -0,0 +1,21 @@
1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */
6var Montage = require("montage").Montage,
7 Component = require("montage/ui/component").Component;
8
9exports.FeedEntry = Montage.create(Component, {
10
11 _entry: {value: null},
12 entry: {
13 get: function() {
14 return this._entry;
15 },
16 set: function(value) {
17 this._entry = value;
18 }
19 }
20
21});
diff --git a/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.html b/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.html
new file mode 100644
index 00000000..28c0ed1f
--- /dev/null
+++ b/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.html
@@ -0,0 +1,79 @@
1<!DOCTYPE html>
2<html>
3<head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>Feed Reader</title>
6
7 <script type="text/javascript" src="https://www.google.com/jsapi?callback=initGoogleAPI"></script>
8
9 <script type="text/montage-serialization">
10{
11 "entriesController": {
12 "name": "ArrayController",
13 "module": "montage/ui/controller/array-controller",
14 "properties": {
15 "selectObjectsOnAddition": true,
16 "automaticallyOrganizeObjects": true
17 },
18 "bindings": {
19 "content": {
20 "boundObject": {"@": "owner"},
21 "boundObjectPropertyPath": "entries",
22 "oneway": true
23 }
24 }
25 },
26
27 "feedEntry": {
28 "module": "montage-google/feed-reader/feed-entry.reel",
29 "name": "FeedEntry",
30 "properties": {
31 "element": {"#": "feed-entry"}
32 },
33 "bindings": {
34 "entry": {
35 "boundObject": {"@": "owner"},
36 "boundObjectPropertyPath": "activeFeedEntry",
37 "oneway": true
38 }
39 }
40 },
41
42 "owner": {
43 "module": "montage-google/feed-reader/feed-reader.reel",
44 "name": "FeedReader",
45 "properties": {
46 "element": {"#": "feed-reader"}
47 }
48 }
49
50}
51 </script>
52
53 <style>
54 div.feed-reader {
55 /*padding: 2px;*/
56 height: 120px;
57 width: 380px;
58 }
59
60 .feed-entry {
61 }
62
63
64 </style>