aboutsummaryrefslogtreecommitdiff
path: root/js/panels/properties/sections/custom-rows/single-row.reel/single-row.js
diff options
context:
space:
mode:
authorPushkar Joshi2012-03-02 12:24:33 -0800
committerPushkar Joshi2012-03-02 12:24:33 -0800
commit4419209a1fd850ab468209b562b66b0242b42a9c (patch)
treebd7ca04f963f5a3aeb4b3c06db6f187903307d45 /js/panels/properties/sections/custom-rows/single-row.reel/single-row.js
parent1b68bb87c458877cb850a96d8a093d6064bc41dc (diff)
parentff0a956f33df034e9a009cfcb8999e469456a4b5 (diff)
downloadninja-4419209a1fd850ab468209b562b66b0242b42a9c.tar.gz
Merge branch 'master' into brushtool
Diffstat (limited to 'js/panels/properties/sections/custom-rows/single-row.reel/single-row.js')
-rwxr-xr-xjs/panels/properties/sections/custom-rows/single-row.reel/single-row.js50
1 files changed, 0 insertions, 50 deletions
diff --git a/js/panels/properties/sections/custom-rows/single-row.reel/single-row.js b/js/panels/properties/sections/custom-rows/single-row.reel/single-row.js
deleted file mode 100755
index b606d6b8..00000000
--- a/js/panels/properties/sections/custom-rows/single-row.reel/single-row.js
+++ /dev/null
@@ -1,50 +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.SingleRow = Montage.create(Component, {
11 id: {
12 value: null
13 },
14
15 label: {
16 value: null
17 },
18
19 content: {
20 value: null
21 },
22
23 eventDelegate: {
24 value: null
25 },
26
27
28 handleChange: {
29 value: function(event) {
30 }
31 },
32
33 handleChanging: {
34 value: function(event) {
35 this.eventDelegate({"type": "changing", "id": this.id, "prop": this.prop, "text": this.label, "value": this.value});
36 }
37 },
38
39 divider: {
40 value: false
41 },
42
43 prepareForDraw: {
44 value: function() {
45 if (this.divider) this.element.appendChild(document.createElement("hr"));
46 if(this.label !== null) this.element.getElementsByClassName("lbl")[0].innerHTML = this.label + ":";
47 }
48 }
49
50}); \ No newline at end of file