diff options
author | Valerio Virgillito | 2012-05-09 11:46:14 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-09 11:46:14 -0700 |
commit | 4d9832acbd78f82a63fba59187bd82a5afad8240 (patch) | |
tree | 1aa2e2a955b155279d0cd9391baf18760f4c1a94 /node_modules/montage/ui | |
parent | d220c02e246b30509b28a47fa04916ca2b8122e4 (diff) | |
download | ninja-4d9832acbd78f82a63fba59187bd82a5afad8240.tar.gz |
Squashed commit of google-components into master
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui')
16 files changed, 0 insertions, 1742 deletions
diff --git a/node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.html b/node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.html deleted file mode 100644 index 15dc7eb0..00000000 --- a/node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.html +++ /dev/null | |||
@@ -1,89 +0,0 @@ | |||
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/ui/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/ui/feed-reader/feed-entry.reel/feed-entry.js b/node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.js deleted file mode 100644 index 72c5023e..00000000 --- a/node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.js +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
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> */ | ||
6 | var Montage = require("montage").Montage, | ||
7 | Component = require("ui/component").Component; | ||
8 | |||
9 | exports.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/ui/feed-reader/feed-reader.reel/feed-reader.html b/node_modules/montage/ui/feed-reader/feed-reader.reel/feed-reader.html deleted file mode 100644 index 56523984..00000000 --- a/node_modules/montage/ui/feed-reader/feed-reader.reel/feed-reader.html +++ /dev/null | |||
@@ -1,79 +0,0 @@ | |||
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/ui/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/ui/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> | ||
65 | |||
66 | |||
67 | </head> | ||
68 | <body> | ||
69 | <div class="feed-reader" id="feed-reader"> | ||
70 | |||