Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/purifycss/purifycss
/ addWord
Function
addWord
src/utils/ExtractWordsUtil.js:1–3 ·
view source on GitHub ↗
(words, word)
Source
from the content-addressed store, hash-verified
1
const
addWord = (words, word) => {
2
if
(word) words.push(word)
3
}
4
5
export
const
getAllWordsInContent = content => {
6
let
used = {
Callers
1
getAllWordsInSelector
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected