MCPcopy Create free account
hub / github.com/Starcounter-Jack/JSON-Patch / fastCheck

Function fastCheck

commonjs/duplex.js:66–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 generate(observer);
65 };
66 var fastCheck = function () {
67 clearTimeout(observer.next);
68 observer.next = setTimeout(dirtyCheck);
69 };
70 if (typeof window !== 'undefined') { //not Node
71 window.addEventListener('mouseup', fastCheck);
72 window.addEventListener('keyup', fastCheck);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected