aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/textfield.reel/textfield.js
diff options
context:
space:
mode:
authorAnanya Sen2012-02-03 09:57:41 -0800
committerAnanya Sen2012-02-03 09:57:41 -0800
commitc093dd13a84ce6eb3e00a672c38a808093c5d966 (patch)
tree5dfd4a800bbbe02a8cbcb3ffeee542686bc258bb /node_modules/montage/ui/textfield.reel/textfield.js
parent79b0173eeca079dec42ff1480182656dbe3af44f (diff)
parent8e06b63e5eab5558823f4923e20a832c8b36cbe2 (diff)
downloadninja-c093dd13a84ce6eb3e00a672c38a808093c5d966.tar.gz
Merge branch 'FileIO' of github.com:joseeight/ninja-internal into FileIO
Conflicts: js/io/document/document-controller.js js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js js/io/ui/save-as-dialog.reel/save-as-dialog.js Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/textfield.reel/textfield.js')
-rw-r--r--[-rwxr-xr-x]node_modules/montage/ui/textfield.reel/textfield.js37
1 files changed, 8 insertions, 29 deletions
diff --git a/node_modules/montage/ui/textfield.reel/textfield.js b/node_modules/montage/ui/textfield.reel/textfield.js
index e90e20c6..b16e685b 100755..100644
--- a/node_modules/montage/ui/textfield.reel/textfield.js
+++ b/node_modules/montage/ui/textfield.reel/textfield.js
@@ -3,36 +3,15 @@
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 @module "montage/ui/textfield.reel"
8 @requires montage/core/core
9 @requires montage/ui/editable-text
10*/
11var Montage = require("montage").Montage, 6var Montage = require("montage").Montage,
12 EditableText = require("ui/editable-text").EditableText; 7 Component = require("ui/component").Component,
13/** 8 TextInput = require("ui/text-input").TextInput,
14 @class module:"montage/ui/textfield.reel".Textfield 9 StandardInputAttributes = require("ui/text-input").StandardInputAttributes;
15 @extends module:montage/ui/editable-text.EditableText
16*/
17var Textfield = exports.Textfield = Montage.create(EditableText,/** @lends module:"montage/ui/textfield.reel".Textfield# */ {
18/**
19 Description TODO
20 @type {Property}
21 @default null
22 */
23 delegate: {
24 enumerable: true,
25 value: null
26 },
27/** 10/**
28 Description TODO 11 * The Text input
29 @private 12 */
30*/ 13var Textfield = exports.Textfield = Montage.create(TextInput, {
31 _drawSpecific: {
32 enumerable: false,
33 value: function() {
34 this.element.classList.add('montage-textfield');
35 }
36 }
37}); 14});
38 15
16// Standard <input> tag attributes - http://www.w3.org/TR/html5/the-input-element.html#the-input-element
17Textfield.addAttributes(StandardInputAttributes);