mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-21 23:04:49 +01:00
Merge pull request #56 from hexedtech/fix/js-ack
chore(js): added ack function to glue
This commit is contained in:
commit
e973a25370
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