diff options
author | Pierre Frisch | 2011-12-22 07:25:50 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-27 11:18:17 -0800 |
commit | b89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch) | |
tree | 0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /node_modules/montage/ui/textfield.reel/textfield.js | |
parent | 2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff) | |
download | ninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz |
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/textfield.reel/textfield.js')
-rwxr-xr-x | node_modules/montage/ui/textfield.reel/textfield.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/node_modules/montage/ui/textfield.reel/textfield.js b/node_modules/montage/ui/textfield.reel/textfield.js new file mode 100755 index 00000000..e90e20c6 --- /dev/null +++ b/node_modules/montage/ui/textfield.reel/textfield.js | |||
@@ -0,0 +1,38 @@ | |||
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> */ | ||
6 | /** | ||
7 | @module "montage/ui/textfield.reel" | ||
8 | @requires montage/core/core | ||
9 | @requires montage/ui/editable-text | ||
10 | */ | ||
11 | var Montage = require("montage").Montage, | ||
12 | EditableText = require("ui/editable-text").EditableText; | ||
13 | /** | ||
14 | @class module:"montage/ui/textfield.reel".Textfield | ||
15 | @extends module:montage/ui/editable-text.EditableText | ||
16 | */ | ||
17 | var 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 | /** | ||
28 | Description TODO | ||
29 | @private | ||
30 | */ | ||
31 | _drawSpecific: { | ||
32 | enumerable: false, | ||
33 | value: function() { | ||
34 | this.element.classList.add('montage-textfield'); | ||
35 | } | ||
36 | } | ||
37 | }); | ||
38 | |||