source:
node_modules/autoprefixer/lib/vendor.js@
2058e5c
| Last change on this file since 2058e5c was 2058e5c, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 206 bytes | |
| Rev | Line | |
|---|---|---|
| [2058e5c] | 1 | module.exports = { |
| 2 | prefix(prop) { | |
| 3 | let match = prop.match(/^(-\w+-)/) | |
| 4 | if (match) { | |
| 5 | return match[0] | |
| 6 | } | |
| 7 | ||
| 8 | return '' | |
| 9 | }, | |
| 10 | ||
| 11 | unprefixed(prop) { | |
| 12 | return prop.replace(/^-\w+-/, '') | |
| 13 | } | |
| 14 | } |
Note:
See TracBrowser
for help on using the repository browser.
