diff options
author | Valerio Virgillito | 2012-02-16 10:54:48 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-16 10:54:48 -0800 |
commit | d52aca45e0357b5597e13d9b74998abb75fabea5 (patch) | |
tree | ffd4a0c060b00611953b7e3ed0b3955bf02ac6e7 /node_modules/montage/ui/date-input.reel/date-input.js | |
parent | d366c0bd1af6471511217ed574083e15059519b5 (diff) | |
download | ninja-d52aca45e0357b5597e13d9b74998abb75fabea5.tar.gz |
integrating the latest montage fixes for v0.6 into master
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/date-input.reel/date-input.js')
-rw-r--r-- | node_modules/montage/ui/date-input.reel/date-input.js | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/node_modules/montage/ui/date-input.reel/date-input.js b/node_modules/montage/ui/date-input.reel/date-input.js index af163258..0d8ff613 100644 --- a/node_modules/montage/ui/date-input.reel/date-input.js +++ b/node_modules/montage/ui/date-input.reel/date-input.js | |||
@@ -10,22 +10,10 @@ var Montage = require("montage").Montage, | |||
10 | * The Component wrapper for input type="date" | 10 | * The Component wrapper for input type="date" |
11 | */ | 11 | */ |
12 | var DateInput = exports.DateInput = Montage.create(TextInput, { | 12 | var DateInput = exports.DateInput = Montage.create(TextInput, { |
13 | hasTemplate: {value: true} | ||
14 | }); | 13 | }); |
15 | 14 | ||
16 | DateInput.addAttributes({ | 15 | DateInput.addAttributes({ |
17 | autocomplete: null, | 16 | max: null, |
18 | disabled: {dataType: 'boolean'}, | 17 | min: null, |
19 | list: null, // list of autocomplete options | 18 | step: null // 'any' or a floating point number |
20 | max: null, | 19 | }); \ No newline at end of file |
21 | maxlength: null, | ||
22 | min: null, | ||
23 | multiple: null, | ||
24 | name: null, | ||
25 | pattern: null, | ||
26 | placeholder: null, | ||
27 | readonly: {dataType: 'boolean'}, | ||
28 | required: {dataType: 'boolean'}, | ||
29 | size: null, | ||
30 | src: null | ||
31 | }); | ||