aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-19 00:45:26 -0700
committerArmen Kesablyan2012-06-19 00:45:26 -0700
commitc59eb371559a3061ce53223e249ca97daace5968 (patch)
treef9540e26c0f273d35f92010605da65dd85bbe70c /node_modules/montage
parent0f040acabfb7a4bf3138debec5aff869487ceb11 (diff)
parent918a4f5870e972b6e4e301c3237e065a1ffd26f5 (diff)
downloadninja-c59eb371559a3061ce53223e249ca97daace5968.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal
Diffstat (limited to 'node_modules/montage')
-rwxr-xr-xnode_modules/montage/CHANGES.md347
-rw-r--r--node_modules/montage/core/change-notification.js82
-rwxr-xr-xnode_modules/montage/core/converter/bytes-converter.js3
-rwxr-xr-xnode_modules/montage/core/converter/converter.js3
-rwxr-xr-xnode_modules/montage/core/converter/currency-converter.js9
-rwxr-xr-xnode_modules/montage/core/converter/date-converter.js12
-rwxr-xr-xnode_modules/montage/core/converter/number-converter.js28
-rwxr-xr-xnode_modules/montage/core/converter/upper-case-converter.js2
-rwxr-xr-xnode_modules/montage/core/core.js32
-rwxr-xr-xnode_modules/montage/core/deserializer.js29
-rwxr-xr-xnode_modules/montage/core/event/action-event-listener.js6
-rwxr-xr-xnode_modules/montage/core/event/binding.js202
-rw-r--r--node_modules/montage/core/extras/object.js41
-rwxr-xr-xnode_modules/montage/montage.js20
-rwxr-xr-xnode_modules/montage/package.json2
-rw-r--r--node_modules/montage/ui/autocomplete/autocomplete.reel/autocomplete.js15
-rw-r--r--node_modules/montage/ui/autocomplete/results-list.reel/results-list.html11
-rw-r--r--node_modules/montage/ui/bluemoon/button-group.reel/button-group.html2
-rw-r--r--node_modules/montage/ui/bluemoon/button.reel/button.html2
-rw-r--r--node_modules/montage/ui/bluemoon/progress.reel/progress.html1
-rw-r--r--node_modules/montage/ui/bluemoon/progress.reel/progress.js11
-rw-r--r--node_modules/montage/ui/bluemoon/slider.reel/slider.html2
-rw-r--r--node_modules/montage/ui/bluemoon/slider.reel/slider.js267
-rw-r--r--node_modules/montage/ui/button.reel/button.js2
-rwxr-xr-xnode_modules/montage/ui/component.js22
-rw-r--r--node_modules/montage/ui/composer/composer.js9
-rw-r--r--node_modules/montage/ui/composer/translate-composer.js99
-rwxr-xr-xnode_modules/montage/ui/condition.reel/condition.js13
-rw-r--r--node_modules/montage/ui/controller/array-controller.js247
-rwxr-xr-xnode_modules/montage/ui/controller/paged-array-controller.js260
-rwxr-xr-xnode_modules/montage/ui/dynamic-text.reel/dynamic-text.js6
-rwxr-xr-xnode_modules/montage/ui/editable-text.js3
-rw-r--r--node_modules/montage/ui/flow.reel/flow.html11
-rw-r--r--node_modules/montage/ui/flow.reel/flow.js44
-rwxr-xr-xnode_modules/montage/ui/list.reel/list.html6
-rwxr-xr-xnode_modules/montage/ui/list.reel/list.js24
-rwxr-xr-xnode_modules/montage/ui/loader.reel/loader.js5
-rwxr-xr-xnode_modules/montage/ui/loading-panel.reel/loading-panel.html11
-rwxr-xr-xnode_modules/montage/ui/loading.reel/loading.html2
-rwxr-xr-xnode_modules/montage/ui/loading.reel/loading.js3
-rw-r--r--node_modules/montage/ui/native-control.js50
-rwxr-xr-xnode_modules/montage/ui/popup/alert.reel/alert.html10
-rwxr-xr-xnode_modules/montage/ui/popup/confirm.reel/confirm.html8
-rwxr-xr-xnode_modules/montage/ui/popup/notifier.reel/notifier.html2
-rwxr-xr-xnode_modules/montage/ui/popup/notifier.reel/notifier.js6
-rwxr-xr-xnode_modules/montage/ui/popup/popup.reel/popup.html4
-rwxr-xr-xnode_modules/montage/ui/popup/popup.reel/popup.js41
-rwxr-xr-xnode_modules/montage/ui/repetition.reel/repetition.js188
-rw-r--r--node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.html4
-rw-r--r--node_modules/montage/ui/rich-text-editor/overlays/rich-text-resizer.reel/rich-text-resizer.html4
-rw-r--r--node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor-base.js2
-rw-r--r--node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.css7
-rw-r--r--node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.html4
-rw-r--r--node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.js6
-rw-r--r--node_modules/montage/ui/scroll-bars.reel/scroll-bars.html1
-rw-r--r--node_modules/montage/ui/scroll-bars.reel/scroll-bars.js61
-rw-r--r--node_modules/montage/ui/scroller.reel/scroller.html12
-rw-r--r--node_modules/montage/ui/scroller.reel/scroller.js32
-rw-r--r--node_modules/montage/ui/select-input.reel/select-input.js27
-rw-r--r--node_modules/montage/ui/skeleton/range-input.reel/range-input.css6
-rw-r--r--node_modules/montage/ui/skeleton/range-input.reel/range-input.html6
-rw-r--r--node_modules/montage/ui/skeleton/range-input.reel/range-input.js173
-rwxr-xr-xnode_modules/montage/ui/slot.reel/slot.js13
-rwxr-xr-xnode_modules/montage/ui/substitution.reel/substitution.js10
-rwxr-xr-xnode_modules/montage/ui/tabs.reel/tabs.html6
-rwxr-xr-xnode_modules/montage/ui/tabs.reel/tabs.js21
-rwxr-xr-xnode_modules/montage/ui/template.js13
-rw-r--r--node_modules/montage/ui/text-input.js43
-rw-r--r--node_modules/montage/ui/toggle-button.reel/toggle-button.js50
-rw-r--r--node_modules/montage/ui/token-field/token-field.reel/token-field.html12
-rw-r--r--node_modules/montage/ui/token-field/token-field.reel/token-field.js24
-rw-r--r--node_modules/montage/ui/token-field/token.reel/token.html6
-rw-r--r--node_modules/montage/ui/token-field/token.reel/token.js65
-rwxr-xr-xnode_modules/montage/ui/video-player.reel/video-player.html44
74 files changed, 1511 insertions, 1346 deletions
diff --git a/node_modules/montage/CHANGES.md b/node_modules/montage/CHANGES.md
new file mode 100755
index 00000000..5b544221
--- /dev/null
+++ b/node_modules/montage/CHANGES.md
@@ -0,0 +1,347 @@
1# v0.10.0
2
3- **New property change API**
4
5 In prior Montage releases if you wanted to be notified when the value of a property changed, or an array was
6 modified, you used the addEventListener() API to register a listener object (or function). This API has been
7 replaced with addPropertyChangeListener(), which does everything that addEventListener() did, plus more.
8
9- **Changes to data binding**
10
11 In this release, bindings can only be serialized on the source object in the binding. Practically, this means that
12 the arrow in the binding serialization can only point from right-to-left, not from left-to-right.
13 Also, the double-arrow syntax (<<->, for example) is no longer valid.
14
15- **__debugChangeNotifications__()**
16
17 To help debug and inspect change listeners that you’ve registered on an object, call __debugChangeNotifications__()
18 This is temporary stop gap which will be replaced by better debugging tools soon.
19
20- **KeyComposer and KeyManager**
21
22 Montage now includes a mechanism for easily listening for and responding to keyboard events, including individual
23 keys, or key combinations that you specify. It consists of two Montage objects: KeyComposer and KeyManager. You
24 create a KeyComposer object and specify the keys, or key combinations, that you want to respond to, as well as the
25 listener object that defines the necessary handlers. A default instance of the KeyManager prototype listens for
26 native key events on behalf of all active KeyComposers. It then invokes a callback method on the listener object
27 you specified.
28
29- **TokenField**
30
31 The TokenField component is a text input component that displays tokens as its content.
32
33- **Flow component**
34
35 The Flow component now supports selection handling and a feature called “stride”. The stride of a Flow component
36 defines points at regular intervals where scrolling should stop. For example, suppose you are creating a carousel
37 of album covers and you want the scrolling to stop when it reaches a position where the next album is always
38 positioned at the center. In this case the stride value would be the scroll distance between an element at the
39 center and the next element at the center. If you wanted scrolling to stop at every second or third album you would
40 set a stride to double or triple of that value. That way you could have, for example, a page showing 10 albums, and
41 you would be able to scroll 10 albums at a time, never stopping in the middle.
42
43- **DynamicElement**
44
45 The DynamicElement component takes a string of plain text or HTML and inserts it into the component’s associated DOM
46 element, clearing any existing content.
47
48
49# v0.9.0
50
51- **Draw cycle changes**
52
53 After the willDraw phase all the components needing draw are sorted by their level in the
54 component hierarchy. They are then processed in reverse order. This ensures that all the
55 childComponents needing draw have drawn by the time the parent's draw is called. The didDraw
56 uses the same list but processes the componets in top down order (the reverse of draw)
57
58- **Components**
59
60 Autocomplete Textfield Added
61 An Autocomplete Textfield extends the Textfield component to support suggestions for the user to pick values.
62 The HTML markup for the Autocomplete is the same as the standard HTML5 markup (<input>).
63 Wrapping the <input> HTMLElement as a Montage Autocomplete component adds Data Binding support for all
64 writable attributes of this element and allows the Developer to provide suggestions to the user based
65 on the entered value.
66
67 Popup
68 Support HTMLElement and Montage Component for the anchor property
69 Change willPositionPopup(popup, anchor, anchorPosition) to willPosition(popup, defaultPosition).
70 Change autoDismiss to autoHide
71 Support autoHide only for non-modal popups
72 Support string values (eg: 20px, 30%) for position parameters. If a number is provided, default to 'px'.
73
74- **Template**
75
76 ``instantiateWithDocument(document, callback)`` method is added to use plain html templates without an owner.
77
78 Backwards compatibility for id attribute based references in serilization is removed, you should now use the
79 data-montage-id attribute.
80
81# v0.8.0
82
83- **Data binding shorthand in serializations**
84
85 This release introduces a new shorthand syntax for declaring data bindings in a serialization. The new syntax
86 includes an arrow symbol that indicates the source of the binding and whether its one-way or two-way.The symbol can
87 take one of the following forms:
88
89 `<-` – One-way data binding, bound object on right
90
91 `->` – One-way data binding, bound object on left