MCPcopy Create free account
hub / github.com/dabbott/javascript-playgrounds / prefixAndApply

Function prefixAndApply

utils/PrefixInlineStyles.js:17–23  ·  view source on GitHub ↗
(style, node)

Source from the content-addressed store, hash-verified

15}
16
17export const prefixAndApply = (style, node) => {
18 const prefixed = prefix(style)
19
20 for (let key in prefixed) {
21 node.style[key] = prefixed[key]
22 }
23}

Callers 2

index.jsFile · 0.90
player.jsFile · 0.90

Calls 1

prefixFunction · 0.85

Tested by

no test coverage detected