aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage-user/ui/textfield.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-01 00:09:27 -0800
committerValerio Virgillito2012-02-01 00:09:27 -0800
commit8592cfb89db05f0e52d8c1b8c7046e6f49e3522d (patch)
treea6f9b5adfe16fd6232708f8a2345cd79056caca9 /node_modules/montage-user/ui/textfield.reel
parentc6d1a1da9e7cdf477daf32410d80691eb1e828d5 (diff)
downloadninja-8592cfb89db05f0e52d8c1b8c7046e6f49e3522d.tar.gz
Adding a montage framework copy for the user document
Adding a new montage copy containing the latest version of montage to use the new native widgets Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage-user/ui/textfield.reel')
-rw-r--r--node_modules/montage-user/ui/textfield.reel/textfield.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/node_modules/montage-user/ui/textfield.reel/textfield.js b/node_modules/montage-user/ui/textfield.reel/textfield.js
new file mode 100644
index 00000000..b16e685b
--- /dev/null
+++ b/node_modules/montage-user/ui/textfield.reel/textfield.js
@@ -0,0 +1,17 @@
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> */
6var Montage = require("montage").Montage,
7 Component = require("ui/component").Component,
8 TextInput = require("ui/text-input").TextInput,
9 StandardInputAttributes = require("ui/text-input").StandardInputAttributes;
10/**
11 * The Text input
12 */
13var Textfield = exports.Textfield = Montage.create(TextInput, {
14});
15
16// Standard <input> tag attributes - http://www.w3.org/TR/html5/the-input-element.html#the-input-element
17Textfield.addAttributes(StandardInputAttributes);