From b89a7ee8b956c96a1dcee995ea840feddc5d4b27 Mon Sep 17 00:00:00 2001 From: Pierre Frisch Date: Thu, 22 Dec 2011 07:25:50 -0800 Subject: First commit of Ninja to ninja-internal Signed-off-by: Valerio Virgillito --- node_modules/montage/ui/textarea.reel/textarea.js | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 node_modules/montage/ui/textarea.reel/textarea.js (limited to 'node_modules/montage/ui/textarea.reel/textarea.js') diff --git a/node_modules/montage/ui/textarea.reel/textarea.js b/node_modules/montage/ui/textarea.reel/textarea.js new file mode 100755 index 00000000..44e5f0a5 --- /dev/null +++ b/node_modules/montage/ui/textarea.reel/textarea.js @@ -0,0 +1,29 @@ +/* + This file contains proprietary software owned by Motorola Mobility, Inc.
+ No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+ (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ +/** + @module "montage/ui/textarea.reel" + @requires montage/core/core + @requires montage/ui/editable-text +*/ +var Montage = require("montage").Montage, + EditableText = require("ui/editable-text").EditableText; +/** + @class module:"montage/ui/textarea.reel".TextArea + @classdesc TextArea component - multiline text field + @extends module:montage/ui/editable-text.EditableText +*/ +exports.TextArea = Montage.create(EditableText, /** @lends module:"montage/ui/textarea.reel".TextArea# */{ +/** + Description TODO + @private +*/ + _drawSpecific: { + enumerable: false, + value: function() { + this.element.classList.add('montage-textarea'); + } + } +}); -- cgit v1.2.3