Vulcan/client/views/posts/post_page.js

19 lines
392 B
JavaScript
Raw Normal View History

Template.post_page.helpers({
2014-07-05 11:42:28 +09:00
post_item: function () {
return getTemplate('post_item');
},
2014-07-05 16:29:10 +09:00
post_body: function () {
return getTemplate('post_body');
},
2014-07-05 11:42:28 +09:00
comment_form: function () {
return getTemplate('comment_form');
},
comment_list: function () {
return getTemplate('comment_list');
}
});
2014-07-05 11:42:28 +09:00
Template.post_page.rendered = function(){
$('body').scrollTop(0);
};