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

Method decl

lib/prefixes.js:161–167  ·  view source on GitHub ↗

* Declaration loader with caching

(prop)

Source from the content-addressed store, hash-verified

159 * Declaration loader with caching
160 */
161 decl(prop) {
162 if (!declsCache.has(prop)) {
163 declsCache.set(prop, Declaration.load(prop))
164 }
165
166 return declsCache.get(prop)
167 }
168
169 /**
170 * Group declaration by unprefixed property to check them

Callers 4

normalizeMethod · 0.95
prefixedMethod · 0.95
preprocessMethod · 0.95
prefixes.test.jsFile · 0.80

Calls 2

loadMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected