From a3024011a91d3941f81481dd4d600e9684eb0fd4 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Thu, 2 Feb 2012 00:11:51 -0800 Subject: upgrading to Montage v0.6 Signed-off-by: Valerio Virgillito --- .../montage/ui/date-input.reel/date-input.js | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 node_modules/montage/ui/date-input.reel/date-input.js (limited to 'node_modules/montage/ui/date-input.reel/date-input.js') diff --git a/node_modules/montage/ui/date-input.reel/date-input.js b/node_modules/montage/ui/date-input.reel/date-input.js new file mode 100644 index 00000000..af163258 --- /dev/null +++ b/node_modules/montage/ui/date-input.reel/date-input.js @@ -0,0 +1,31 @@ +/* + This file contains proprietary software owned by Motorola Mobility, Inc.
+ No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+ (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ +var Montage = require("montage").Montage, + Component = require("ui/component").Component, + TextInput = require("ui/text-input").TextInput; +/** + * The Component wrapper for input type="date" + */ +var DateInput = exports.DateInput = Montage.create(TextInput, { + hasTemplate: {value: true} +}); + +DateInput.addAttributes({ + autocomplete: null, + disabled: {dataType: 'boolean'}, + list: null, // list of autocomplete options + max: null, + maxlength: null, + min: null, + multiple: null, + name: null, + pattern: null, + placeholder: null, + readonly: {dataType: 'boolean'}, + required: {dataType: 'boolean'}, + size: null, + src: null +}); -- cgit v1.2.3