MCPcopy Create free account
hub / github.com/TruthHun/BookStack / saveSync

Function saveSync

static/wangEditor/js/wangEditor.js:2786–2794  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2784
2785 // 同步保存选区
2786 function saveSync() {
2787 // 100ms之内,不重复保存
2788 if (Date.now() - dt < 100) {
2789 return;
2790 }
2791
2792 dt = Date.now();
2793 save();
2794 }
2795
2796 // 异步保存选区
2797 function saveAync() {

Callers 1

wangEditor.jsFile · 0.85

Calls 1

saveFunction · 0.70

Tested by

no test coverage detected