Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ecomfe/tempad-dev
/ mergeClasses
Function
mergeClasses
packages/extension/utils/component.ts:597–601 ·
view source on GitHub ↗
(c1: string, c2: string)
Source
from the content-addressed store, hash-verified
595
}
596
597
function
mergeClasses(c1: string, c2: string): string {
598
const
s =
new
Set([...c1.split(/\s+/), ...c2.split(/\s+/)])
599
s.delete(
''
)
600
return
Array.from(s).join(
' '
)
601
}
Callers
1
mergeAttributes
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected