timeline update: ES6, components, refactoring, other

This commit is contained in:
tmshv committed 2016-02-22 16:15:42 +03:00
1 parent 761938b17a
commit 73a3361376
20 files changed
+315 -238

No files matched your search

@@ -0,0 +1,13 @@
import template from '../../templates/components/timeline-record-post.html';
export default function (app) {
app.component('timelineRecordPost', {
bindings: {
post: '<'
},
template: template,
controller: function($sce){
this.message = $sce.trustAsHtml(this.post.body);
}
});
};