aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui
diff options
context:
space:
mode:
authorhwc4872012-05-11 13:52:55 -0700
committerhwc4872012-05-11 13:52:55 -0700
commit137bfc9d4c41cc918d969565bec28a834fe10472 (patch)
treee9fa109fc65218f45e386df48b713ff5858f3d62 /node_modules/montage/ui
parentd21aaca3d7093b6af968b7f9f764ab54e004f02b (diff)
parent27f4cacb39de1c2e3910748dadc9fc16d0655480 (diff)
downloadninja-137bfc9d4c41cc918d969565bec28a834fe10472.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Textures
Conflicts: js/lib/geom/geom-obj.js js/lib/geom/rectangle.js js/tools/TagTool.js
Diffstat (limited to 'node_modules/montage/ui')
-rw-r--r--node_modules/montage/ui/anchor.reel/anchor.js78
-rwxr-xr-xnode_modules/montage/ui/application.js4
-rw-r--r--node_modules/montage/ui/autocomplete/autocomplete.reel/autocomplete.css (renamed from node_modules/montage/ui/map.reel/map.css)11
-rw-r--r--node_modules/montage/ui/autocomplete/autocomplete.reel/autocomplete.html10
-rw-r--r--node_modules/montage/ui/autocomplete/autocomplete.reel/autocomplete.js498
-rw-r--r--node_modules/montage/ui/autocomplete/autocomplete.reel/loading.gifbin0 -> 1456 bytes
-rw-r--r--node_modules/montage/ui/autocomplete/results-list.reel/results-list.css30
-rw-r--r--node_modules/montage/ui/autocomplete/results-list.reel/results-list.html62
-rw-r--r--node_modules/montage/ui/autocomplete/results-list.reel/results-list.js (renamed from node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.js)17
-rw-r--r--node_modules/montage/ui/bluemoon/button-group.reel/button-group.html3
-rw-r--r--node_modules/montage/ui/bluemoon/button.reel/button.html3
-rw-r--r--node_modules/montage/ui/bluemoon/progress.reel/progress.html7
-rw-r--r--node_modules/montage/ui/bluemoon/slider.reel/slider.html35
-rw-r--r--node_modules/montage/ui/button.reel/button.js214
-rw-r--r--node_modules/montage/ui/check-input.js23
-rw-r--r--node_modules/montage/ui/checkbox.reel/checkbox.js63
-rwxr-xr-xnode_modules/montage/ui/component.js201
-rw-r--r--node_modules/montage/ui/composer/composer.js45
-rw-r--r--node_modules/montage/ui/composer/press-composer.js28
-rw-r--r--node_modules/montage/ui/composer/translate-composer.js641
-rw-r--r--[-rwxr-xr-x]node_modules/montage/ui/controller/array-controller.js1
-rw-r--r--node_modules/montage/ui/date-input.reel/date-input.js33
-rw-r--r--node_modules/montage/ui/dynamic-element.reel/dynamic-element.js143
-rwxr-xr-xnode_modules/montage/ui/dynamic-text.reel/dynamic-text.js45
-rw-r--r--node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.html89
-rw-r--r--node_modules/montage/ui/feed-reader/feed-reader.reel/feed-reader.html79
-rw-r--r--node_modules/montage/ui/feed-reader/feed-reader.reel/feed-reader.js180
-rw-r--r--node_modules/montage/ui/flow-path-cubic.js115
-rw-r--r--node_modules/montage/ui/flow-path-lerp.js112
-rw-r--r--node_modules/montage/ui/flow-path-linear.js83
-rw-r--r--node_modules/montage/ui/flow-path-sigmoid.js148
-rw-r--r--node_modules/montage/ui/flow-path.js215
-rwxr-xr-xnode_modules/montage/ui/image.reel/image.js36
-rwxr-xr-xnode_modules/montage/ui/list.reel/list.html13
-rwxr-xr-xnode_modules/montage/ui/loader.reel/loader.js30
-rwxr-xr-xnode_modules/montage/ui/loading-panel.reel/loading-panel.html24
-rwxr-xr-xnode_modules/montage/ui/loading.reel/loading.html5
-rw-r--r--node_modules/montage/ui/map.reel/map.html46
-rw-r--r--node_modules/montage/ui/map.reel/map.js289
-rw-r--r--node_modules/montage/ui/native-control.js185
-rw-r--r--node_modules/montage/ui/number-input.reel/number-input.js32
-rw-r--r--node_modules/montage/ui/picasa-carousel.reel/image.reel/image.html39
-rw-r--r--node_modules/montage/ui/picasa-carousel.reel/image.reel/image.js20
-rwxr-xr-xnode_modules/montage/ui/picasa-carousel.reel/picasa-carousel.css41
-rwxr-xr-xnode_modules/montage/ui/picasa-carousel.reel/picasa-carousel.html169
-rw-r--r--node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js151
-rwxr-xr-xnode_modules/montage/ui/popup/alert.reel/alert.html25
-rwxr-xr-xnode_modules/montage/ui/popup/confirm.reel/confirm.html24
-rwxr-xr-xnode_modules/montage/ui/popup/notifier.reel/notifier.html7
-rwxr-xr-xnode_modules/montage/ui/popup/popup.reel/popup.css20
-rwxr-xr-xnode_modules/montage/ui/popup/popup.reel/popup.html12
-rwxr-xr-xnode_modules/montage/ui/popup/popup.reel/popup.js16
-rwxr-xr-xnode_modules/montage/ui/progress.reel/progress.js34
-rwxr-xr-xnode_modules/montage/ui/radio-button.reel/radio-button.js65
-rw-r--r--node_modules/montage/ui/range-input.reel/range-input.js31
-rw-r--r--node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.html10
-rw-r--r--node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.js1
-rw-r--r--node_modules/montage/ui/rich-text-editor/overlays/rich-text-resizer.reel/rich-text-resizer.css32
-rw-r--r--node_modules/montage/ui/rich-text-editor/overlays/rich-text-resizer.reel/rich-text-resizer.html26
-rw-r--r--node_modules/montage/ui/rich-text-editor/overlays/rich-text-resizer.reel/rich-text-resizer.js10
-rw-r--r--node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor-base.js34
-rw-r--r--node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.html10
-rw-r--r--node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.js223
-rw-r--r--node_modules/montage/ui/scroll-bars.reel/scroll-bars.html17
-rw-r--r--node_modules/montage/ui/scroller.reel/scroller.html26
-rw-r--r--node_modules/montage/ui/scroller.reel/scroller.js21
-rwxr-xr-xnode_modules/montage/ui/scrollview.reel/scrollview.js193
-rw-r--r--node_modules/montage/ui/select-input.reel/select-input.js86
-rwxr-xr-xnode_modules/montage/ui/tabs.reel/tabs.html12
-rw-r--r--node_modules/montage/ui/text-input.js148
-rw-r--r--node_modules/montage/ui/textarea.reel/textarea.js94
-rw-r--r--node_modules/montage/ui/textfield.reel/textfield.js14
-rw-r--r--node_modules/montage/ui/toggle-button.reel/toggle-button.js74
-rwxr-xr-xnode_modules/montage/ui/video-player.reel/video-player.html97
-rw-r--r--node_modules/montage/ui/youtube-channel.reel/youtube-channel.html126
-rw-r--r--node_modules/montage/ui/youtube-channel.reel/youtube-channel.js242
-rw-r--r--node_modules/montage/ui/youtube-player.reel/youtube-player.html25
-rw-r--r--node_modules/montage/ui/youtube-player.reel/youtube-player.js216
78 files changed, 3350 insertions, 2917 deletions
<
diff --git a/node_modules/montage/ui/anchor.reel/anchor.js b/node_modules/montage/ui/anchor.reel/anchor.js
index d8ac1d8f..2c12684b 100644
--- a/node_modules/montage/ui/anchor.reel/anchor.js
+++ b/node_modules/montage/ui/anchor.reel/anchor.js
@@ -3,24 +3,78 @@
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<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. 4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */ 5 </copyright> */
6
7/**
8 @module "montage/ui/anchor.reel"
9 @requires montage/core/core
10 @requires montage/ui/native-control
11*/
6var Montage = require("montage").Montage, 12var Montage = require("montage").Montage,
7 Component = require("ui/component").Component, 13 Component = require("ui/component").Component,
8 NativeControl = require("ui/native-control").NativeControl; 14 NativeControl = require("ui/native-control").NativeControl;
9
10/** 15/**
11 * The <a> native control with binding support for the standard attributes 16 The Anchor component wraps a native <code>&lt;a&gt;</code> element and exposes its standard attributes as bindable properties.
12 */ 17 @class module:"montage/ui/anchor.reel".Anchor
18 @extends module:montage/native-control.NativeControl
19
20*/
13var Anchor = exports.Anchor = Montage.create(NativeControl, { 21var Anchor = exports.Anchor = Montage.create(NativeControl, {
14 22
23 // HTMLAnchorElement methods
24
25 blur: { value: function() { this._element.blur(); } },
26 focus: { value: function() { this._element.focus(); } }
27
15}); 28});
16 29
17http://www.w3.org/TR/html5/text-level-semantics.html#the-a-element 30Anchor.addAttributes( /** @lends module:"montage/ui/anchor.reel".Anchor# */ {
18Anchor.addAttributes({ 31
19 textContent: null, 32/**
20 href: null, 33 The text displayed by the link.
21 hreflang: null, 34 @type string
22 media: null, 35 @default null
23 rel: null, 36*/
24 target: null, 37 textContent: null,
25 type: null 38
39/**
40 The link target URL.
41 @type string
42 @default null
43*/
44 href: null,
45
46/**
47 The language of the linked resource.
48 @type string
49 @default null
50*/
51 hreflang: null,
52
53/**
54 The media type for which the target document was designed.
55 @type string
56 @default null
57*/
58 media: null,
59
60/**
61 Controls what kinds of links the elements create.
62 @type string
63 @default null
64*/
65 rel: null,
66
67/**
68 The target window the link will open in.
69 @type string
70 @default null
71*/