forked from cybrespace/pinafore
add mark/measure
This commit is contained in:
parent
3dc46791e9
commit
695ac7eae3
|
@ -49,9 +49,11 @@
|
|||
const saveText = debounce(() => scheduleIdleTask(() => this.store.save()), 1000)
|
||||
|
||||
this.observe('rawText', rawText => {
|
||||
mark('observe rawText')
|
||||
let realm = this.get('realm')
|
||||
this.store.setComposeData(realm, {text: rawText})
|
||||
saveText()
|
||||
stop('observe rawText')
|
||||
}, {init: false})
|
||||
},
|
||||
setupAutosize() {
|
||||
|
|
Loading…
Reference in New Issue