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

Method hack

lib/prefixer.js:57–65  ·  view source on GitHub ↗

* Add hack to selected names

(klass)

Source from the content-addressed store, hash-verified

55 * Add hack to selected names
56 */
57 static hack(klass) {
58 if (!this.hacks) {
59 this.hacks = {}
60 }
61 return klass.names.map(name => {
62 this.hacks[name] = klass
63 return this.hacks[name]
64 })
65 }
66
67 /**
68 * Load hacks for some names

Callers 2

prefixes.jsFile · 0.80
prefixer.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected