Prettier format all js files

This commit is contained in:
George Drummond
2019-01-24 09:38:43 -05:00
parent 20604e6ca9
commit 619bc9fe59
32 changed files with 553 additions and 443 deletions

View File

@@ -7,15 +7,15 @@ export default {
timestamp: String,
format: {
type: String,
default: 'MMM D YYYY H:mm'
}
default: 'MMM D YYYY H:mm',
},
},
computed: {
displayTime: function () {
displayTime: function() {
return format(this.timestamp, this.format)
}
},
},
template: '<time v-bind:datetime="timestamp">{{ displayTime }}</time>'
template: '<time v-bind:datetime="timestamp">{{ displayTime }}</time>',
}