diff options
author | Valerio Virgillito | 2012-04-23 15:58:27 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-23 15:58:27 -0700 |
commit | 4ab2a55ba2175c72f859c428122a166f8af74140 (patch) | |
tree | 3f383cb4b9e92dcb7f80eed62ff6cbc467062448 /js/components/ui/radio-button.reel/radio-button.js | |
parent | 3f8f224170937d498d3a03c706494408a6b4bf1d (diff) | |
parent | 5a0331fc26fcc2cdc6200086109e34440a2dec6a (diff) | |
download | ninja-4ab2a55ba2175c72f859c428122a166f8af74140.tar.gz |
Merge branch 'refs/heads/master' into stage-document-architecture
Diffstat (limited to 'js/components/ui/radio-button.reel/radio-button.js')
-rwxr-xr-x | js/components/ui/radio-button.reel/radio-button.js | 44 |
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> | ||
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 | |||
7 | var Montage = require("montage/core/core").Montage; | ||
8 | var Component = require("montage/ui/component").Component; | ||
9 | |||
10 | exports.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 | }); | ||