diff options
author | Jonathan Duran | 2012-06-20 15:04:45 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-06-20 15:04:45 -0700 |
commit | c6ae80c488621d4ac189cb63309b6258115f823a (patch) | |
tree | dfa26112e1830972fcb212bbb5b17c9a901c645f /node_modules/montage/ui/input-radio.reel/input-radio.js | |
parent | 022e714cb5d10cd8575ab9907eddfb184a990b66 (diff) | |
parent | c9852665eadc1acb9c1c881d207c4bd9ef88805f (diff) | |
download | ninja-c6ae80c488621d4ac189cb63309b6258115f823a.tar.gz |
Merge branch 'refs/heads/NINJAmaster' into Timeline-merge-candidate
Diffstat (limited to 'node_modules/montage/ui/input-radio.reel/input-radio.js')
-rw-r--r-- | node_modules/montage/ui/input-radio.reel/input-radio.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/node_modules/montage/ui/input-radio.reel/input-radio.js b/node_modules/montage/ui/input-radio.reel/input-radio.js new file mode 100644 index 00000000..66cd9036 --- /dev/null +++ b/node_modules/montage/ui/input-radio.reel/input-radio.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 */ | ||
7 | var Montage = require("montage").Montage, | ||
8 | Component = require("ui/component").Component, | ||
9 | NativeInputRadio = require("ui/native/input-radio.reel").InputRadio; | ||
10 | |||
11 | /** | ||
12 | * Input Radio | ||
13 | */ | ||
14 | exports.InputRadio = Montage.create(NativeInputRadio, { | ||
15 | |||
16 | hasTemplate: {value: true}, | ||
17 | |||
18 | didSetElement: { | ||
19 | value: function() { | ||
20 | NativeInputRadio.didSetElement.call(this); | ||
21 | this['class'] = (this['class'] || '') + ' montage-inputRadio'; | ||
22 | } | ||
23 | } | ||
24 | |||
25 | }); \ No newline at end of file | ||