aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/style-sheet.reel
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-19 00:45:26 -0700
committerArmen Kesablyan2012-06-19 00:45:26 -0700
commitc59eb371559a3061ce53223e249ca97daace5968 (patch)
treef9540e26c0f273d35f92010605da65dd85bbe70c /js/panels/css-panel/style-sheet.reel
parent0f040acabfb7a4bf3138debec5aff869487ceb11 (diff)
parent918a4f5870e972b6e4e301c3237e065a1ffd26f5 (diff)
downloadninja-c59eb371559a3061ce53223e249ca97daace5968.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal
Diffstat (limited to 'js/panels/css-panel/style-sheet.reel')
-rw-r--r--js/panels/css-panel/style-sheet.reel/style-sheet.html2
-rw-r--r--js/panels/css-panel/style-sheet.reel/style-sheet.js31
2 files changed, 32 insertions, 1 deletions
diff --git a/js/panels/css-panel/style-sheet.reel/style-sheet.html b/js/panels/css-panel/style-sheet.reel/style-sheet.html
index 7e27dd93..d08453fa 100644
--- a/js/panels/css-panel/style-sheet.reel/style-sheet.html
+++ b/js/panels/css-panel/style-sheet.reel/style-sheet.html
@@ -27,7 +27,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
27 "properties": { 27 "properties": {
28 "element": {"#": "sheet-name"}, 28 "element": {"#": "sheet-name"},
29 "identifier": "nameText", 29 "identifier": "nameText",
30 "defaultText": "Style sheet" 30 "defaultValue": "Style sheet"
31 }, 31 },
32 "bindings": { 32 "bindings": {
33 "value": {"<-": "@owner.name"} 33 "value": {"<-": "@owner.name"}
diff --git a/js/panels/css-panel/style-sheet.reel/style-sheet.js b/js/panels/css-panel/style-sheet.reel/style-sheet.js
index cb69d25b..8ce8da0e 100644
--- a/js/panels/css-panel/style-sheet.reel/style-sheet.js
+++ b/js/panels/css-panel/style-sheet.reel/style-sheet.js
@@ -8,6 +8,37 @@ var Montage = require("montage/core/core").Montage,
8 Component = require("montage/ui/component").Component; 8 Component = require("montage/ui/component").Component;
9 9
10exports.StyleSheet = Montage.create(Component, { 10exports.StyleSheet = Montage.create(Component, {
11
12 nameText: {
13 value: null,
14 serializable: true
15 },
16
17 mediaInput: {
18 value: null,
19 serializable: true
20 },
21
22 editButton: {
23 value: null,
24 serializable: true
25 },
26
27 editView: {
28 value: null,
29 serializable: true
30 },
31
32 disableButton: {
33 value: null,
34 serializable: true
35 },
36
37 deleteButton: {
38 value: null,
39 serializable: true
40 },
41
11 _translateDistance: { 42 _translateDistance: {
12 value: null 43 value: null
13 }, 44 },