fediversity.eu/node_modules/autoprefixer/lib/vendor.js
2024-03-26 16:28:28 +01:00

15 lines
206 B
JavaScript

module.exports = {
prefix(prop) {
let match = prop.match(/^(-\w+-)/)
if (match) {
return match[0]
}
return ''
},
unprefixed(prop) {
return prop.replace(/^-\w+-/, '')
}
}