diff options
author | Armen Kesablyan | 2012-05-08 16:43:43 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-05-08 16:43:43 -0700 |
commit | dc075ffcc6dd03c090d90fad999eee9b924d56ee (patch) | |
tree | 867f8bdd588c8f9076979233ca46a688ff70523e /node_modules/montage/ui/textfield.reel/textfield.js | |
parent | 5d7e470351fd150d5e70a97332fa2f2553797499 (diff) | |
parent | 4d949f141247215b5f2a6ec0cfc7d2d31cf2bb1f (diff) | |
download | ninja-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.js | 14 |
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 | */ | ||
6 | var Montage = require("montage").Montage, | 12 | var 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 <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 | */ |
12 | var Textfield = exports.Textfield = Montage.create(TextInput, { | 21 | var Textfield = exports.Textfield = Montage.create(TextInput, { |
22 | |||
23 | select: { value: function() { this._element.select(); } } | ||
24 | |||
13 | }); | 25 | }); |
14 | 26 | ||