diff options
author | Valerio Virgillito | 2012-02-03 15:58:41 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-03 15:58:41 -0800 |
commit | 796bb5ecf6b0dce700ea3c17bbda2ed49b6a84de (patch) | |
tree | 6c2e941e3e61b43f51761f831e9a9c6b8729a84b /node_modules/montage-user/ui/checkbox.reel | |
parent | dbd3a60478db35b0b12baa2ca54a0712d880951f (diff) | |
download | ninja-796bb5ecf6b0dce700ea3c17bbda2ed49b6a84de.tar.gz |
removing the old v0.6 montage folder and updating the references
Diffstat (limited to 'node_modules/montage-user/ui/checkbox.reel')
-rw-r--r-- | node_modules/montage-user/ui/checkbox.reel/checkbox.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/node_modules/montage-user/ui/checkbox.reel/checkbox.js b/node_modules/montage-user/ui/checkbox.reel/checkbox.js deleted file mode 100644 index df2995c3..00000000 --- a/node_modules/montage-user/ui/checkbox.reel/checkbox.js +++ /dev/null | |||
@@ -1,26 +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 | var Montage = require("montage").Montage, | ||
7 | Component = require("ui/component").Component, | ||
8 | CheckInput = require("ui/check-input").CheckInput; | ||
9 | |||
10 | var Checkbox = exports.Checkbox = Montage.create(CheckInput, {}); | ||
11 | Checkbox.addAttributes({ | ||
12 | autofocus: 'off', // on/off | ||
13 | disabled: {value: false, dataType: 'boolean'}, | ||
14 | checked: {value: false, dataType: 'boolean'}, | ||
15 | form: null, | ||
16 | name: null, | ||
17 | readonly: {value: false, dataType: 'boolean'}, | ||
18 | title: null, | ||
19 | /* | ||
20 | "On getting, if the element has a value attribute, it must return that | ||
21 | attribute's value; otherwise, it must return the string "on". On setting, | ||
22 | it must set the element's value attribute to the new value." | ||
23 | http://www.w3.org/TR/html5/common-input-element-attributes.html#dom-input-value-default-on | ||
24 | */ | ||
25 | value: {value: 'on'} | ||
26 | }); | ||