diff options
author | Nivesh Rajbhandari | 2012-06-13 13:51:39 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-06-13 13:51:39 -0700 |
commit | 263ecfc95bd7eb5c726cd5688c3d74eb10296811 (patch) | |
tree | 7c907dd58e9b4f4a1d4802d8d22b9c84d3c2edf3 /js/panels/css-panel/style-sheet.reel | |
parent | 1bb2778224982aea7b9781c6559bb659983a400f (diff) | |
parent | a827f2769d75848c0ba0bff03a927c1f2706322b (diff) | |
download | ninja-263ecfc95bd7eb5c726cd5688c3d74eb10296811.tar.gz |
Merge branch 'refs/heads/ninja-internal' into PI_HotTextFixes
Conflicts:
js/panels/properties.reel/sections/position-size.reel/position-size.html
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/panels/css-panel/style-sheet.reel')
-rw-r--r-- | js/panels/css-panel/style-sheet.reel/style-sheet.html | 2 | ||||
-rw-r--r-- | js/panels/css-panel/style-sheet.reel/style-sheet.js | 31 |
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 | ||
10 | exports.StyleSheet = Montage.create(Component, { | 10 | exports.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 | }, |