diff options
author | Jose Antonio Marquez | 2012-06-20 16:48:34 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-20 16:48:34 -0700 |
commit | 4eff115126ab946c5852d787fd596e07b156c9a5 (patch) | |
tree | f7d45b260f2fb5ba5dc4d1879076ca032d5ae2e6 /node_modules/montage/ui/input-text.reel/input-text.js | |
parent | 7615da5c6ba54bd082eac4b8a6d9196084e5c590 (diff) | |
parent | 392a559e90357d48c910a07617261483b2b45476 (diff) | |
download | ninja-4eff115126ab946c5852d787fd596e07b156c9a5.tar.gz |
Merge branch 'refs/heads/Ninja-Internal' into Color
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 | ||