FUCKING BIG UPDATE: server, parallax, apis, new data models, style, layout, other

This commit is contained in:
tmshv committed 2016-03-03 01:34:45 +03:00
1 parent e0f54171a9
commit 359cc430f5
78 files changed
+1063 -445

No files matched your search

+7 -4
View File
@@ -2,16 +2,19 @@ import template from '../../templates/components/page-events.html';
export default function (app) {
app.component('pageEvents', {
bindings: {
events: '<'
},
template: template,
controllerAs: '$',
controller: function (api, menu) {
this.pageClass = 'page-events';
menu.activate('/events');
api.event.list()
.success(posts => {
this.posts = posts;
});
//api.event.list()
// .success(posts => {
// this.posts = posts;
// });
}
});
};