MCPcopy 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
10const normalizeJsEventName = (name: string): string =>
11 name.replace(/^on/i, "").toLowerCase();
12
13export const CSS_STATES = [
14 "active",

Callers 2

codeblocks.tsFile · 0.85
isJsEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected