Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MirrowApp/mirrow
/ normalizeJsEventName
Function
normalizeJsEventName
packages/core/src/data/codeblocks.ts:10–11 ·
view source on GitHub ↗
(name: string)
Source
from the content-addressed store, hash-verified
8
name.replace(/^:+/,
""
).toLowerCase();
9
10
const
normalizeJsEventName = (name: string): string =>
11
name.replace(/^on/i,
""
).toLowerCase();
12
13
export
const
CSS_STATES = [
14
"active"
,
Callers
2
codeblocks.ts
File · 0.85
isJsEvent
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected