Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dresende/node-orm2
/ checkHook
Function
checkHook
test/integration/hook.js:21–27 ·
view source on GitHub ↗
(hook)
Source
from the content-addressed store, hash-verified
19
// }
20
21
var
checkHook =
function
(hook) {
22
triggeredHooks[hook] = false;
23
24
return
function
() {
25
triggeredHooks[hook] = getTimestamp();
26
};
27
};
28
29
var
setup =
function
(hooks) {
30
if
(typeof hooks ==
"undefined"
) {
Callers
2
setup
Function · 0.70
hook.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected