diff options
author | Valerio Virgillito | 2012-05-14 17:28:00 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-14 17:28:00 -0700 |
commit | 8009663c4f1bbf5ae457393fb8a3454df2625071 (patch) | |
tree | 65ece2e94092cc5a177f830858008478df09d6d9 /js/mediators | |
parent | 8f8eb57f4506987942745c3325492e939ed3caa8 (diff) | |
parent | 6fe05fc4f518000cf9a7af3c34381af16579a6d6 (diff) | |
download | ninja-8009663c4f1bbf5ae457393fb8a3454df2625071.tar.gz |
Merge branch 'dom-architecture' of github.com:Motorola-Mobility/ninja-internal into dom-architecture
Diffstat (limited to 'js/mediators')
-rw-r--r-- | js/mediators/io-mediator.js | 3 |
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; |