aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node_modules/montage/examples/feed-reader/images/07-map-marker.pngbin0 -> 3131 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/images/10-medical.pngbin0 -> 2915 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/images/100-coffee.pngbin0 -> 2958 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/images/107-widescreen.pngbin0 -> 2986 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/images/125-food.pngbin0 -> 3038 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/images/142-wine-bottle.pngbin0 -> 187 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/images/34-coffee.pngbin0 -> 3052 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/images/35-shopping.pngbin0 -> 2970 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/images/38-airplane.pngbin0 -> 3004 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/images/41-picture-frame.pngbin0 -> 2928 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/images/48-fork-and-knife.pngbin0 -> 2882 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/images/87-wine-glass.pngbin0 -> 2983 bytes
-rw-r--r--node_modules/montage/examples/feed-reader/index.html81
-rw-r--r--node_modules/montage/examples/feed-reader/main.reel/main.html184
-rw-r--r--node_modules/montage/examples/feed-reader/main.reel/main.js45
-rw-r--r--node_modules/montage/examples/feed-reader/map-example.reel/main.css2
-rw-r--r--node_modules/montage/examples/feed-reader/map-example.reel/main.html58
-rw-r--r--node_modules/montage/examples/feed-reader/map-example.reel/main.js24
-rw-r--r--node_modules/montage/examples/feed-reader/package.json10
-rw-r--r--node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.html90
-rw-r--r--node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.js13
-rw-r--r--node_modules/montage/ui/feed-reader/feed-reader.reel/feed-reader.html83
-rw-r--r--node_modules/montage/ui/feed-reader/feed-reader.reel/feed-reader.js82
-rw-r--r--node_modules/montage/ui/map.reel/map.css9
-rw-r--r--node_modules/montage/ui/map.reel/map.html58
-rw-r--r--node_modules/montage/ui/map.reel/map.js283
-rwxr-xr-xnode_modules/montage/ui/template.js6
27 files changed, 1025 insertions, 3 deletions
diff --git a/node_modules/montage/examples/feed-reader/images/07-map-marker.png b/node_modules/montage/examples/feed-reader/images/07-map-marker.png
new file mode 100644
index 00000000..a5d99d69
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/07-map-marker.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/images/10-medical.png b/node_modules/montage/examples/feed-reader/images/10-medical.png
new file mode 100644
index 00000000..ab78c783
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/10-medical.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/images/100-coffee.png b/node_modules/montage/examples/feed-reader/images/100-coffee.png
new file mode 100644
index 00000000..4e9c517a
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/100-coffee.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/images/107-widescreen.png b/node_modules/montage/examples/feed-reader/images/107-widescreen.png
new file mode 100644
index 00000000..2e5f1ba7
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/107-widescreen.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/images/125-food.png b/node_modules/montage/examples/feed-reader/images/125-food.png
new file mode 100644
index 00000000..81afd74a
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/125-food.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/images/142-wine-bottle.png b/node_modules/montage/examples/feed-reader/images/142-wine-bottle.png
new file mode 100644
index 00000000..a7df9e97
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/142-wine-bottle.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/images/34-coffee.png b/node_modules/montage/examples/feed-reader/images/34-coffee.png
new file mode 100644
index 00000000..4c4bedad
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/34-coffee.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/images/35-shopping.png b/node_modules/montage/examples/feed-reader/images/35-shopping.png
new file mode 100644
index 00000000..03689f99
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/35-shopping.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/images/38-airplane.png b/node_modules/montage/examples/feed-reader/images/38-airplane.png
new file mode 100644
index 00000000..dfcbbc78
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/38-airplane.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/images/41-picture-frame.png b/node_modules/montage/examples/feed-reader/images/41-picture-frame.png
new file mode 100644
index 00000000..6deee997
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/41-picture-frame.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/images/48-fork-and-knife.png b/node_modules/montage/examples/feed-reader/images/48-fork-and-knife.png
new file mode 100644
index 00000000..06d91088
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/48-fork-and-knife.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/images/87-wine-glass.png b/node_modules/montage/examples/feed-reader/images/87-wine-glass.png
new file mode 100644
index 00000000..b4d34474
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/images/87-wine-glass.png
Binary files differ
diff --git a/node_modules/montage/examples/feed-reader/index.html b/node_modules/montage/examples/feed-reader/index.html
new file mode 100644
index 00000000..3b5529b9
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/index.html
@@ -0,0 +1,81 @@
1<!DOCTYPE html>
2<!-- <copyright>
3 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
4 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
5 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
6 </copyright> -->
7<html>
8<head>
9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10 <title>Montage Feed Reader</title>
11
12 <script src="../../montage.js" data-package="."></script>
13
14 <script type="text/montage-serialization">
15 {
16 "owner": {
17 "module": "montage/ui/loader.reel",
18 "name": "Loader"
19 }
20 }
21 </script>
22
23 <style type="text/css">
24
25 html, body {
26 background-color: #eee;
27 font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
28 font-size: 13px;
29 font-weight: normal;
30 line-height: 18px;
31 color: #404040;
32
33 }
34
35 #montage-bootstrapper {
36 display: none;
37 color: red;
38 }
39
40 .montage-bootstrapping #montage-bootstrapper {
41 display: block;
42 }
43
44 #montage-loader {
45 color: green;
46 display: none;
47 }
48
49 .montage-loading #montage-loader {
50 display: block;
51 }
52
53 .main {
54 display: block;
55 }
56
57 .montage-loaded .main {
58 display: block;
59 }
60
61 </style>
62
63</head>
64<body>
65
66 <p>
67 <center>
68 <img src="montage-logo.png" />
69 </center>
70 </p>
71
72 <div id="montage-bootstrapper">
73 <p>This is the bootstrapper content which will now be shown for at least 1500ms.</p>
74 </div>
75 <div id="montage-loader">
76 <p>This is the loader content which will now be shown for at least 2000ms.</p>
77 </div>
78
79
80</body>
81</html>
diff --git a/node_modules/montage/examples/feed-reader/main.reel/main.html b/node_modules/montage/examples/feed-reader/main.reel/main.html
new file mode 100644
index 00000000..8ea9a79b
--- /dev/null
+++ b/node_modules/montage/examples/feed-reader/main.reel/main.html
@@ -0,0 +1,184 @@
1<!DOCTYPE html>
2<html>
3<head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>Feed Reader Example</title>
6
7
8
9 <script type="text/montage-serialization">
10{
11
12 "goButton": {
13 "module": "montage/ui/button.reel",
14 "name": "Button",
15 "properties": {
16 "element": {
17 "#": "btn-go"
18 },
19 "identifier": "go"
20 },
21 "listeners": [
22 {
23 "type": "action",
24 "listener": {"@": "owner"}
25 }
26 ]
27 },
28
29 "feedURL": {
30 "module": "montage/ui/textfield.reel",
31 "name": "Textfield",
32 "properties": {
33 "element": {"#": "feed-url"}
34 },
35 "bindings": {
36 "value": {
37 "boundObject": {"@": "owner"},
38 "boundObjectPropertyPath": "feedURL"
39 }
40 }
41 },
42
43 "feedReader": {
44 "module": "montage/ui/feed-reader/feed-reader.reel",
45 "name": "FeedReader",
46 "properties": {
47 "element": {"#": "feed-reader"}
48 }
49 },
50
51 "mapCenter": {
52 "module": "montage/ui/textfield.reel",
53 "name": "Textfield",
54 "properties": {
55 "element": {"#": "map-center"}
56 }
57 },
58
59 "mapButton": {
60 "module": "montage/ui/button.reel",
61 "name": "Button",
62 "properties": {
63 "element": {
64 "#": "btn-map"
65 },
66 "identifier": "mapButton"
67 },
68 "listeners": [