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

Function prefixObject

utils/PrefixInlineStyles.js:7–15  ·  view source on GitHub ↗
(styles, output = {})

Source from the content-addressed store, hash-verified

5export const prefix = (style) => prefixer.prefix(style)
6
7export const prefixObject = (styles, output = {}) => {
8 for (let key in styles) {
9 if (styles.hasOwnProperty(key)) {
10 output[key] = prefixer.prefix(styles[key])
11 }
12 }
13
14 return output
15}
16
17export const prefixAndApply = (style, node) => {
18 const prefixed = prefix(style)

Callers 13

Status.jsFile · 0.90
Workspace.jsFile · 0.90
Console.jsFile · 0.90
Tabs.jsFile · 0.90
Fullscreen.jsFile · 0.90
Editor.jsFile · 0.90
renderMethod · 0.90
TabContainer.jsFile · 0.90
PlayerFrame.jsFile · 0.90
Overlay.jsFile · 0.90
Button.jsFile · 0.90
Header.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected