aboutsummaryrefslogtreecommitdiff
path: root/js/components/ui/radio-button.reel/radio-button.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-04-25 13:34:04 -0700
committerNivesh Rajbhandari2012-04-25 13:34:04 -0700
commit32a24988add5ba0ecf80caa31871cdd90e3eea5b (patch)
treefbf05f2dfc91e57ab9598046ff16798ea0ae1966 /js/components/ui/radio-button.reel/radio-button.js
parent60d6346a78fb5257eaf36f17a5fcb764a342c012 (diff)
parentd3a6350163ada5644d34ed8d5c2a00cef4db2afc (diff)
downloadninja-32a24988add5ba0ecf80caa31871cdd90e3eea5b.tar.gz
Merge branch 'refs/heads/ninja-internal' into WebGLMaterials
Diffstat (limited to 'js/components/ui/radio-button.reel/radio-button.js')
-rwxr-xr-xjs/components/ui/radio-button.reel/radio-button.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/js/components/ui/radio-button.reel/radio-button.js b/js/components/ui/radio-button.reel/radio-button.js
deleted file mode 100755
index a356fefe..00000000
--- a/js/components/ui/radio-button.reel/radio-button.js
+++ /dev/null
@@ -1,44 +0,0 @@
1/* <copyright>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No 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
7var Montage = require("montage/core/core").Montage;
8var Component = require("montage/ui/component").Component;
9
10exports.RadioButton = Montage.create(Component, {
11
12 data: { value: null },
13
14 _selected: { value: null },
15
16 selected: {
17 get: function() { return this._selected; },
18 set: function(value) {
19 this._selected = value;
20 this.needsDraw = true;
21 }
22 },
23
24 prepareForDraw: {
25 enumerable: false,
26 value: function() {
27 this.element.addEventListener("click", this, false);
28 }
29 },
30
31 draw: {
32 enumerable: false,
33 value: function() {
34
35 }
36 },
37
38 handleClick: {
39 value: function(event) {
40
41 }
42 }
43
44});