diff options
Diffstat (limited to 'node_modules/montage/ui')
88 files changed, 7616 insertions, 2888 deletions
diff --git a/node_modules/montage/ui/anchor.reel/anchor.js b/node_modules/montage/ui/anchor.reel/anchor.js new file mode 100644 index 00000000..d8ac1d8f --- /dev/null +++ b/node_modules/montage/ui/anchor.reel/anchor.js | |||
@@ -0,0 +1,26 @@ | |||
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 | NativeControl = require("ui/native-control").NativeControl; | ||
9 | |||
10 | /** | ||
11 | * The <a> native control with binding support for the standard attributes | ||
12 | */ | ||
13 | var Anchor = exports.Anchor = Montage.create(NativeControl, { | ||
14 | |||
15 | }); | ||
16 | |||
17 | http://www.w3.org/TR/html5/text-level-semantics.html#the-a-element | ||
18 | Anchor.addAttributes({ | ||
19 | textContent: null, | ||
20 | href: null, | ||
21 | hreflang: null, | ||
22 | media: null, | ||
23 | rel: null, | ||
24 | target: null, | ||
25 | type: null | ||
26 | }); | ||
diff --git a/node_modules/montage/ui/application.js b/node_modules/montage/ui/application.js index 21449b8d..c7b3dc73 100755 --- a/node_modules/montage/ui/application.js +++ b/node_modules/montage/ui/application.js | |||
@@ -128,15 +128,6 @@ var Application = exports.Application = Montage.create(Montage, /** @lends monta | |||
128 | }, | 128 | }, |
129 | 129 | ||
130 | /** | 130 | /** |
131 | A collection of components that the application creates at startup. | ||
132 | @type {Object} | ||
133 | @default null | ||
134 | */ | ||
135 | components: { | ||
136 | value: null | ||
137 | }, | ||
138 | |||
139 | /** | ||
140 | The application's delegate object.<br> | 131 | The application's delegate object.<br> |
141 | The application delegate is notified of events during the application's life cycle. | 132 | The application delegate is notified of events during the application's life cycle. |
142 | @type {Object} | 133 | @type {Object} |
@@ -147,13 +138,6 @@ var Application = exports.Application = Montage.create(Montage, /** @lends monta | |||
147 | }, | 138 | }, |
148 | 139 | ||
149 | /** | 140 | /** |
150 | @private | ||
151 | */ | ||
152 | _template: { | ||
153 | value: null | ||
154 | }, | ||
155 | |||
156 | /** | ||
157 | Description TODO | 141 | Description TODO |
158 | @function | 142 | @function |
159 | @param {Function} callback A function to invoke after the method has completed. | 143 | @param {Function} callback A function to invoke after the method has completed. |
@@ -161,32 +145,16 @@ var Application = exports.Application = Montage.create(Montage, /** @lends monta | |||
161 | load: { | 145 | load: { |
162 | value: function(callback) { | 146 | value: function(callback) { |
163 | var template = Template.create().initWithDocument(window.document), |