MCPcopy
hub / github.com/postcss/autoprefixer / process

Method process

lib/at-rule.js:24–32  ·  view source on GitHub ↗

* Clone node with prefixes

(node)

Source from the content-addressed store, hash-verified

22 * Clone node with prefixes
23 */
24 process(node) {
25 let parent = this.parentPrefix(node)
26
27 for (let prefix of this.prefixes) {
28 if (!parent || parent === prefix) {
29 this.add(node, prefix)
30 }
31 }
32 }
33}
34
35module.exports = AtRule

Callers 9

addMethod · 0.45
checkFunction · 0.45
value.test.jsFile · 0.45
selector.test.jsFile · 0.45
postcss.test.jsFile · 0.45
at-rule.test.jsFile · 0.45
supports.test.jsFile · 0.45

Calls 2

addMethod · 0.95
parentPrefixMethod · 0.80

Tested by 1

checkFunction · 0.36