mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-21 23:04:49 +01:00
chore(js): added ack function to glue
This commit is contained in:
parent
53508414e9
commit
9ab5033935
1 changed files with 7 additions and 0 deletions
|
@ -31,6 +31,13 @@ impl BufferController {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
/// Acknowledge TextChange
|
||||
#[napi(js_name = "ack")]
|
||||
pub fn js_ack(&self, version: Vec<i64>){
|
||||
self.ack(version);
|
||||
}
|
||||
|
||||
|
||||
/// Remove registered buffer callback
|
||||
#[napi(js_name = "clearCallback")]
|
||||
pub fn js_clear_callback(&self) {
|
||||
|
|
Loading…
Reference in a new issue