diaspora/public/javascripts/app/views/photo_viewer.js
Dennis Collinson 6288eff599 day mood for a post responds to content
extract creating a post with templates to a static post view method.

Legacy templates extracted, day view

day mood shows photos and has variable text size
2012-03-27 14:54:27 -07:00

7 lines
No EOL
218 B
JavaScript

app.views.PhotoViewer = app.views.Base.extend({
templateName : "photo-viewer",
presenter : function(){
return { photos : this.model.get("photos") } //json array of attributes, not backbone models, yet.
}
});