mirror of
https://github.com/mblanke/ThreatHunt.git
synced 2026-03-01 22:00:22 -05:00
CLAUDE branch
i made have screwed the pooch with this
This commit is contained in:
18
frontend/node_modules/autoprefixer/lib/hacks/image-set.js
generated
vendored
Normal file
18
frontend/node_modules/autoprefixer/lib/hacks/image-set.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
let Value = require('../value')
|
||||
|
||||
class ImageSet extends Value {
|
||||
/**
|
||||
* Use non-standard name for WebKit and Firefox
|
||||
*/
|
||||
replace(string, prefix) {
|
||||
let fixed = super.replace(string, prefix)
|
||||
if (prefix === '-webkit-') {
|
||||
fixed = fixed.replace(/("[^"]+"|'[^']+')(\s+\d+\w)/gi, 'url($1)$2')
|
||||
}
|
||||
return fixed
|
||||
}
|
||||
}
|
||||
|
||||
ImageSet.names = ['image-set']
|
||||
|
||||
module.exports = ImageSet
|
||||
Reference in New Issue
Block a user