diff options
author | Nivesh Rajbhandari | 2012-05-04 15:33:29 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-04 15:33:29 -0700 |
commit | ad94ec51c81badeba2b0f870cad8a0eec7878ebd (patch) | |
tree | 35c52d44d2c5399ea4019582af3fb55a53ee05c8 /node_modules/montage/examples/feed-reader/map-example.reel | |
parent | 3ad9024bcfce76e28816daa02bac14fc8985ca62 (diff) | |
parent | 3ebed34665fa73b0ce613b400f3029ebf4476439 (diff) | |
download | ninja-ad94ec51c81badeba2b0f870cad8a0eec7878ebd.tar.gz |
Merge branch 'refs/heads/dom-architecture-master' into Dom-Architecture
Diffstat (limited to 'node_modules/montage/examples/feed-reader/map-example.reel')
3 files changed, 0 insertions, 84 deletions
diff --git a/node_modules/montage/examples/feed-reader/map-example.reel/main.css b/node_modules/montage/examples/feed-reader/map-example.reel/main.css deleted file mode 100644 index 139597f9..00000000 --- a/node_modules/montage/examples/feed-reader/map-example.reel/main.css +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | |||
2 | |||
diff --git a/node_modules/montage/examples/feed-reader/map-example.reel/main.html b/node_modules/montage/examples/feed-reader/map-example.reel/main.html deleted file mode 100644 index 889ca8d6..00000000 --- a/node_modules/montage/examples/feed-reader/map-example.reel/main.html +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
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>Main Component</title> | ||
11 | |||
12 | <style type="text/css"> | ||
13 | |||
14 | .map-container { | ||
15 | width: 500px; | ||
16 | height: 500px; | ||
17 | position: relative; | ||
18 | } | ||
19 | |||
20 | .montage-google-map { | ||
21 | position: relative; | ||
22 | margin: 0; | ||
23 | padding: 0; | ||
24 | } | ||
25 | </style> | ||
26 | |||
27 | <script type="text/montage-serialization"> | ||
28 | { | ||
29 | "owner": { | ||
30 | "module": "main.reel", | ||
31 | "name": "Main", | ||
32 | "properties": { | ||
33 | "element": {"#": "main"} | ||
34 | } | ||
35 | }, | ||
36 | |||
37 | "map": { | ||
38 | "prototype": "montage/ui/google/map.reel", | ||
39 | "properties": { | ||
40 | "element": {"#": "map"} | ||
41 | } | ||
42 | } | ||
43 | } | ||
44 | </script> | ||
45 | |||
46 | </head> | ||
47 | <body> | ||
48 | |||
49 | <div id="main" class="main"> | ||
50 | <p>Main component of application</p> | ||
51 | <div class="map-container"> | ||
52 | <div id="map"></div> | ||
53 | </div> | ||
54 | |||
55 | </div> | ||
56 | |||
57 | </body> | ||
58 | </html> | ||
diff --git a/node_modules/montage/examples/feed-reader/map-example.reel/main.js b/node_modules/montage/examples/feed-reader/map-example.reel/main.js deleted file mode 100644 index 54b84425..00000000 --- a/node_modules/montage/examples/feed-reader/map-example.reel/main.js +++ /dev/null | |||
@@ -1,24 +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/core/core").Montage, | ||
7 | Component = require("montage/ui/component").Component; | ||
8 | |||
9 | |||
10 | exports.Main = Montage.create(Component, { | ||
11 | |||
12 | templateDidLoad: { | ||
13 | value: function() { | ||
14 | //console.log("main templateDidLoad") | ||
15 | } | ||
16 | }, | ||
17 | |||
18 | prepareForDraw: { | ||
19 | value: function() { | ||
20 | //console.log("main prepareForDraw") | ||
21 | } | ||
22 | } | ||
23 | |||
24 | }); | ||