aboutsummaryrefslogtreecommitdiff
path: root/js/mediators/io-mediator.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-14 17:28:00 -0700
committerValerio Virgillito2012-05-14 17:28:00 -0700
commit8009663c4f1bbf5ae457393fb8a3454df2625071 (patch)
tree65ece2e94092cc5a177f830858008478df09d6d9 /js/mediators/io-mediator.js
parent8f8eb57f4506987942745c3325492e939ed3caa8 (diff)
parent6fe05fc4f518000cf9a7af3c34381af16579a6d6 (diff)
downloadninja-8009663c4f1bbf5ae457393fb8a3454df2625071.tar.gz
Merge branch 'dom-architecture' of github.com:Motorola-Mobility/ninja-internal into dom-architecture
Diffstat (limited to 'js/mediators/io-mediator.js')
-rw-r--r--js/mediators/io-mediator.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js
index 0bff1f3b..7a905fc6 100644
--- a/js/mediators/io-mediator.js
+++ b/js/mediators/io-mediator.js
@@ -83,7 +83,8 @@ exports.IoMediator = Montage.create(Component, {
83 dimensions = {width: String(dimensions[0])+'px', height: String(dimensions[1])+'px'}; 83 dimensions = {width: String(dimensions[0])+'px', height: String(dimensions[1])+'px'};
84 // 84 //
85 content = content.replace(/Dimensions@@@/gi, "Dimensions@@@"+template.id); 85 content = content.replace(/Dimensions@@@/gi, "Dimensions@@@"+template.id);
86 content = content.replace(/ninja-banner {}/gi, "ninja-banner {width: "+dimensions.width+"; height: "+dimensions.height+"}"); 86 content = content.replace(/ninja-banner {}/gi, "ninja-banner {overflow: visible; width: "+dimensions.width+"; height: "+dimensions.height+"}");
87 content = content.replace(/ninja-content-wrapper {}/gi, "ninja-content-wrapper {overflow: hidden; width: "+dimensions.width+"; height: "+dimensions.height+"}");
87 } 88 }
88 // 89 //
89 return content; 90 return content;