timeline update: ES6, components, refactoring, other
This commit is contained in:
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);
|
||||
}
|
||||
});
|
||||
};
|
||||
Reference in new issue
Block a user