aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/select.reel/select.js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-20 15:16:30 -0700
committerArmen Kesablyan2012-06-20 15:16:30 -0700
commit65b989c7759af923fb9456d34bff89f91831ea1e (patch)
treee408be732a3eee71229bfc7dbf7cace998ce18de /node_modules/montage/ui/select.reel/select.js
parent38f571d1fdf02d36c3816637af7b2ca2493809da (diff)
parentfc818d31de267d2b77fda3b3029ad38d48698be8 (diff)
downloadninja-65b989c7759af923fb9456d34bff89f91831ea1e.tar.gz
Merge branch 'refs/heads/master' into binding
Conflicts: node_modules/montage/ui/application.js Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/select.reel/select.js')
-rw-r--r--node_modules/montage/ui/select.reel/select.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/node_modules/montage/ui/select.reel/select.js b/node_modules/montage/ui/select.reel/select.js
new file mode 100644
index 00000000..e6c7fad6
--- /dev/null
+++ b/node_modules/montage/ui/select.reel/select.js
@@ -0,0 +1,26 @@
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 */
7var Montage = require("montage").Montage,
8 Component = require("ui/component").Component,
9 NativeSelect = require("ui/native/select.reel").Select;
10
11/**
12 * Select
13 */
14exports.Select = Montage.create(NativeSelect, {
15
16 hasTemplate: {value: true},
17
18 didSetElement: {
19 value: function() {
20 NativeSelect.didSetElement.call(this);
21 this['class'] = (this['class'] || '') + ' montage-select';
22 }
23 }
24
25
26}); \ No newline at end of file