MCPcopy Index your code
hub / github.com/TruthHun/BookStack / saveAync

Function saveAync

static/wangEditor/js/wangEditor.js:2797–2803  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2795
2796 // 异步保存选区
2797 function saveAync() {
2798 // 节流,防止高频率重复操作
2799 if (timeoutId) {
2800 clearTimeout(timeoutId);
2801 }
2802 timeoutId = setTimeout(save, 300);
2803 }
2804
2805 // txt change 、focus、blur 时随时保存选区
2806 $txt.on(txtChangeEventNames + ' focus blur', function (e) {

Callers 1

wangEditor.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected