diff options
author | Ananya Sen | 2012-02-03 09:57:41 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-03 09:57:41 -0800 |
commit | c093dd13a84ce6eb3e00a672c38a808093c5d966 (patch) | |
tree | 5dfd4a800bbbe02a8cbcb3ffeee542686bc258bb /node_modules/montage/ui/range-input.reel/range-input.js | |
parent | 79b0173eeca079dec42ff1480182656dbe3af44f (diff) | |
parent | 8e06b63e5eab5558823f4923e20a832c8b36cbe2 (diff) | |
download | ninja-c093dd13a84ce6eb3e00a672c38a808093c5d966.tar.gz |
Merge branch 'FileIO' of github.com:joseeight/ninja-internal into FileIO
Conflicts:
js/io/document/document-controller.js
js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js
js/io/ui/save-as-dialog.reel/save-as-dialog.js
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/range-input.reel/range-input.js')
-rw-r--r-- | node_modules/montage/ui/range-input.reel/range-input.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/node_modules/montage/ui/range-input.reel/range-input.js b/node_modules/montage/ui/range-input.reel/range-input.js new file mode 100644 index 00000000..0c247603 --- /dev/null +++ b/node_modules/montage/ui/range-input.reel/range-input.js | |||
@@ -0,0 +1,24 @@ | |||
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 | TextInput = require("ui/text-input").TextInput; | ||
9 | /** | ||
10 | * The input type="range" field | ||
11 | */ | ||
12 | var RangeInput = exports.RangeInput = Montage.create(TextInput, { | ||
13 | |||
14 | }); | ||
15 | |||
16 | RangeInput.addAttributes({ | ||
17 | disabled: {dataType: 'boolean'}, | ||
18 | max: null, | ||
19 | min: null, | ||
20 | name: null, | ||
21 | readonly: {dataType: 'boolean'}, | ||
22 | required: {dataType: 'boolean'}, | ||
23 | step: null | ||
24 | }); | ||