space
This commit is contained in:
parent
9872bf84f0
commit
72da9df5ac
2 changed files with 11 additions and 10 deletions
|
|
@ -1,4 +1,5 @@
|
|||
'use strict';
|
||||
Vue.config.devtools = true
|
||||
|
||||
var TITLE = document.title
|
||||
|
||||
|
|
@ -100,7 +101,7 @@ Vue.component('relative-time', {
|
|||
'interval': null,
|
||||
}
|
||||
},
|
||||
template: '<time :datetime="val">{{formatted}}</time>',
|
||||
template: '<time :datetime="val">{{ formatted }}</time>',
|
||||
mounted: function() {
|
||||
this.interval = setInterval(function() {
|
||||
this.formatted = dateRepr(this.date)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue