source: node_modules/autoprefixer/lib/hacks/appearance.js@ 2058e5c

Last change on this file since 2058e5c was 2058e5c, checked in by istevanoska <ilinastevanoska@…>, 6 months ago

Working / before login

  • Property mode set to 100644
File size: 463 bytes
Line 
1let Declaration = require('../declaration')
2let utils = require('../utils')
3
4class Appearance extends Declaration {
5 constructor(name, prefixes, all) {
6 super(name, prefixes, all)
7
8 if (this.prefixes) {
9 this.prefixes = utils.uniq(
10 this.prefixes.map(i => {
11 if (i === '-ms-') {
12 return '-webkit-'
13 }
14 return i
15 })
16 )
17 }
18 }
19}
20
21Appearance.names = ['appearance']
22
23module.exports = Appearance
Note: See TracBrowser for help on using the repository browser.