aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/textfield.reel/textfield.js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-05-08 16:43:43 -0700
committerArmen Kesablyan2012-05-08 16:43:43 -0700
commitdc075ffcc6dd03c090d90fad999eee9b924d56ee (patch)
tree867f8bdd588c8f9076979233ca46a688ff70523e /node_modules/montage/ui/textfield.reel/textfield.js
parent5d7e470351fd150d5e70a97332fa2f2553797499 (diff)
parent4d949f141247215b5f2a6ec0cfc7d2d31cf2bb1f (diff)
downloadninja-dc075ffcc6dd03c090d90fad999eee9b924d56ee.tar.gz
Merge branch 'refs/heads/dom-architecture' into binding
Conflicts: js/components/layout/tools-properties.reel/tools-properties.html Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/textfield.reel/textfield.js')
-rw-r--r--node_modules/montage/ui/textfield.reel/textfield.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/node_modules/montage/ui/textfield.reel/textfield.js b/node_modules/montage/ui/textfield.reel/textfield.js
index b78f7b29..543d2600 100644
--- a/node_modules/montage/ui/textfield.reel/textfield.js
+++ b/node_modules/montage/ui/textfield.reel/textfield.js
@@ -3,12 +3,24 @@
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<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. 4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */ 5 </copyright> */
6
7/**
8 @module "montage/ui/textfield.reel"
9 @requires montage/ui/component
10 @requires montage/ui/text-input
11*/
6var Montage = require("montage").Montage, 12var Montage = require("montage").Montage,
7 Component = require("ui/component").Component, 13 Component = require("ui/component").Component,
8 TextInput = require("ui/text-input").TextInput; 14 TextInput = require("ui/text-input").TextInput;
9/** 15/**
10 * The Text input 16 * Wraps the a &lt;input type="text"> element with binding support for the element's standard attributes.
17 @class module:"montage/ui/textfield.reel".Textfield
18 @extends module:montage/ui/text-input.TextInput
19
11 */ 20 */
12var Textfield = exports.Textfield = Montage.create(TextInput, { 21var Textfield = exports.Textfield = Montage.create(TextInput, {
22
23 select: { value: function() { this._element.select(); } }
24
13}); 25});
14 26