mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
cleanup
This commit is contained in:
parent
be82db9072
commit
b97453a323
1 changed files with 1 additions and 12 deletions
|
@ -12,9 +12,6 @@ var getPosts = function (date) {
|
|||
return posts;
|
||||
}
|
||||
|
||||
Template[getTemplate('postsDaily')].rendered = function () {
|
||||
console.log('rendered')
|
||||
}
|
||||
Template[getTemplate('postsDaily')].helpers({
|
||||
postsLoaded: function () {
|
||||
return !!Session.get('postsLoaded');
|
||||
|
@ -40,12 +37,4 @@ Template[getTemplate('postsDaily')].helpers({
|
|||
var count = parseInt(Session.get('postsDays')) + 3;
|
||||
return '/daily/' + count;
|
||||
}
|
||||
});
|
||||
|
||||
// Template[getTemplate('postsDaily')].events({
|
||||
// 'click .more-button': function (e) {
|
||||
// e.preventDefault();
|
||||
// var count = parseInt(Session.get('postsDays')) + 3;
|
||||
// Session.set('postsDays', count);
|
||||
// }
|
||||
// });
|
||||
});
|
Loading…
Add table
Reference in a new issue