aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/input-checkbox.reel/input-checkbox.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-17 22:31:44 -0700
committerValerio Virgillito2012-06-17 22:31:44 -0700
commit8fe92b94ce5e1e2857d088752d94e19db7e3d8a8 (patch)
treed84807aae0b974b5200050972dd94da6066e363b /node_modules/montage/ui/input-checkbox.reel/input-checkbox.js
parente570fc8518cf03dd03c15982edcf17c5ba0a293d (diff)
downloadninja-8fe92b94ce5e1e2857d088752d94e19db7e3d8a8.tar.gz
montage v11 merge into ninja
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/input-checkbox.reel/input-checkbox.js')
-rw-r--r--node_modules/montage/ui/input-checkbox.reel/input-checkbox.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/node_modules/montage/ui/input-checkbox.reel/input-checkbox.js b/node_modules/montage/ui/input-checkbox.reel/input-checkbox.js
new file mode 100644
index 00000000..47442dcf
--- /dev/null
+++ b/node_modules/montage/ui/input-checkbox.reel/input-checkbox.js
@@ -0,0 +1,25 @@
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 NativeInputCheckbox = require("ui/native/input-checkbox.reel").InputCheckbox;
10
11/**
12 * Input Checkbox
13 */
14exports.InputCheckbox = Montage.create(NativeInputCheckbox, {
15
16 hasTemplate: {value: true},
17
18 didSetElement: {
19 value: function() {
20 NativeInputCheckbox.didSetElement.call(this);
21 this['class'] = (this['class'] || '') + ' montage-inputCheckbox';
22 }
23 }
24
25}); \ No newline at end of file