Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/violentmonkey/violentmonkey
/ fire
Function
fire
src/common/index.js:35–38 ·
view source on GitHub ↗
(...data)
Source
from the content-addressed store, hash-verified
33
return
() => hooks.delete(cb);
34
},
35
fire(...data) {
36
// Set#forEach correctly iterates the remainder even if current callback unhooks itself
37
hooks.forEach(cb => cb(...data));
38
},
39
};
40
}
41
Callers
7
options.js
File · 0.70
update
Function · 0.70
injectPageSandbox
Function · 0.50
useOpener
Function · 0.50
initialize
Function · 0.50
fireBridgeEvent
Function · 0.50
bindEvents
Function · 0.50
Calls
1
cb
Function · 0.70
Tested by
no test coverage detected