aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorKruti Shah2012-06-12 13:05:12 -0700
committerKruti Shah2012-06-12 13:05:12 -0700
commitbedb38e14887b29eae3cdf1c8d435259c920257c (patch)
tree1e2b3946d616ac7d14e1a1685d7b33704602d658 /js/controllers
parentc1cd060be878d30fda71140dc850b8d1ac68c6ad (diff)
downloadninja-bedb38e14887b29eae3cdf1c8d435259c920257c.tar.gz
Sub Props
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/elements/element-controller.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/controllers/elements/element-controller.js b/js/controllers/elements/element-controller.js
index f37a9249..da8afbaa 100755
--- a/js/controllers/elements/element-controller.js
+++ b/js/controllers/elements/element-controller.js
@@ -99,9 +99,9 @@ exports.ElementController = Montage.create(Component, {
99 99
100 // Return cached value if one exists 100 // Return cached value if one exists
101 if(isFill) { 101 if(isFill) {
102 if(el.elementModel.fill) { 102// if(el.elementModel.fill) {
103 return el.elementModel.fill; 103// return el.elementModel.fill;
104 } 104// }
105 //TODO: Once logic for color and gradient is established, this needs to be revised 105 //TODO: Once logic for color and gradient is established, this needs to be revised
106 color = this.getProperty(el, "background-color"); 106 color = this.getProperty(el, "background-color");
107 image = this.getProperty(el, "background-image"); 107 image = this.getProperty(el, "background-image");
@@ -114,9 +114,9 @@ exports.ElementController = Montage.create(Component, {
114 114
115 // If no color was found, look up the shared border color 115 // If no color was found, look up the shared border color
116 if(!color && !image) { 116 if(!color && !image) {
117 if(el.elementModel.stroke) { 117// if(el.elementModel.stroke) {
118 return el.elementModel.stroke; 118// return el.elementModel.stroke;
119 } 119// }
120 120
121 color = this.getProperty(el, "border-color"); 121 color = this.getProperty(el, "border-color");
122 image = this.getProperty(el, "border-image"); 122 image = this.getProperty(el, "border-image");