aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-15 11:24:05 -0700
committerJose Antonio Marquez2012-05-15 11:24:05 -0700
commit3ce003c8d99f0043d460b5833c9e5e6bf6a9f0a7 (patch)
treecbff7025391a0865287121810debc7cecdb29617 /js/mediators
parent77c0f0b369d431f6824906c91753b934f749c5d8 (diff)
downloadninja-3ce003c8d99f0043d460b5833c9e5e6bf6a9f0a7.tar.gz
Adding animation sub-category to new file
Adding animation sub-category to template in new file.
Diffstat (limited to 'js/mediators')
-rw-r--r--js/mediators/io-mediator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js
index 7a905fc6..696a69dc 100644
--- a/js/mediators/io-mediator.js
+++ b/js/mediators/io-mediator.js
@@ -77,7 +77,7 @@ exports.IoMediator = Montage.create(Component, {
77 //TODO: Improve template data injection 77 //TODO: Improve template data injection
78 function parseTemplate (content, template) { 78 function parseTemplate (content, template) {
79 // 79 //
80 if (template.name.toLowerCase() === 'banner') { 80 if (template.name.toLowerCase() === 'banner' || template.name.toLowerCase() === 'animation') {
81 //Getting dimensions of banner 81 //Getting dimensions of banner
82 var dimensions = template.id.split('x'); 82 var dimensions = template.id.split('x');
83 dimensions = {width: String(dimensions[0])+'px', height: String(dimensions[1])+'px'}; 83 dimensions = {width: String(dimensions[0])+'px', height: String(dimensions[1])+'px'};