From 3130bbad97caba1ebf47ae626af3dd4ec5747d04 Mon Sep 17 00:00:00 2001 From: Dennis Collinson Date: Thu, 19 Apr 2012 12:29:19 -0700 Subject: [PATCH] render template currently needs to be overridden WHOA junglist massiv --- app/assets/javascripts/app/views/canvas_view.js | 8 +++++--- app/assets/templates/small-frame.jst.hbs | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/app/views/canvas_view.js b/app/assets/javascripts/app/views/canvas_view.js index 48b50b388..006dd68f4 100644 --- a/app/assets/javascripts/app/views/canvas_view.js +++ b/app/assets/javascripts/app/views/canvas_view.js @@ -4,10 +4,12 @@ app.views.Canvas = app.views.Base.extend(_.extend(app.views.infiniteScrollMixin, this.collection = this.stream.items this.postClass = app.views.SmallFrame, this.setupInfiniteScroll() - } -// renderTemplate : function() { + }, + + renderTemplate : function() { + this.postRenderTemplate(); // setTimeout(_.bind(this.mason, this), 1000) -// }, + }, // // mason : function() { // this.$el.isotope({ diff --git a/app/assets/templates/small-frame.jst.hbs b/app/assets/templates/small-frame.jst.hbs index 899f01829..53db96d76 100644 --- a/app/assets/templates/small-frame.jst.hbs +++ b/app/assets/templates/small-frame.jst.hbs @@ -1,6 +1,6 @@
- filler + {{text}}
{{author.name}}