diff options
author | Eric Guzman | 2012-06-20 19:42:03 -0700 |
---|---|---|
committer | Eric Guzman | 2012-06-20 19:42:03 -0700 |
commit | 3270aac4980c908f305fb53abadda5121ff6b9cb (patch) | |
tree | 6255aaab239fde71b1f4862dd70de7be62f48b85 /node_modules/montage/ui/input-text.reel/input-text.js | |
parent | a5d93daf6fdccbfee160d6a8ba08f6b6d4b9d7cc (diff) | |
parent | 87377c81da06abf6d656017859830a3ab2902f0e (diff) | |
download | ninja-3270aac4980c908f305fb53abadda5121ff6b9cb.tar.gz |
Merge branch 'binding' of github.com:dhg637/ninja-internal into binding
Diffstat (limited to 'node_modules/montage/ui/input-text.reel/input-text.js')
-rw-r--r-- | node_modules/montage/ui/input-text.reel/input-text.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/node_modules/montage/ui/input-text.reel/input-text.js b/node_modules/montage/ui/input-text.reel/input-text.js new file mode 100644 index 00000000..36769921 --- /dev/null +++ b/node_modules/montage/ui/input-text.reel/input-text.js | |||
@@ -0,0 +1,24 @@ | |||
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 | /*global require,exports */ | ||
7 | var Montage = require("montage").Montage, | ||
8 | Component = require("ui/component").Component, | ||
9 | NativeInputText = require("ui/native/input-text.reel").InputText; | ||
10 | |||
11 | /** | ||
12 | * Input Text | ||
13 | */ | ||
14 | exports.InputText = Montage.create(NativeInputText, { | ||
15 | |||
16 | hasTemplate: {value: true}, | ||
17 | |||
18 | didSetElement: { | ||
19 | value: function() { | ||
20 | NativeInputText.didSetElement.call(this); | ||
21 | this['class'] = (this['class'] || '') + ' montage-inputText'; | ||
22 | } | ||
23 | } | ||
24 | }); \ No newline at end of file | ||