mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-16 01:45:53 -07:00
chore: install cssbundling rails and set up compilation
This commit is contained in:
parent
09ab4d214e
commit
99ef1cb2c8
4670 changed files with 393937 additions and 25 deletions
28
spec/dummy/node_modules/autoprefixer/lib/hacks/user-select.js
generated
vendored
Normal file
28
spec/dummy/node_modules/autoprefixer/lib/hacks/user-select.js
generated
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
let Declaration = require('../declaration')
|
||||
|
||||
class UserSelect extends Declaration {
|
||||
/**
|
||||
* Avoid prefixing all in IE
|
||||
*/
|
||||
insert(decl, prefix, prefixes) {
|
||||
if (decl.value === 'all' && prefix === '-ms-') {
|
||||
return undefined
|
||||
} else {
|
||||
return super.insert(decl, prefix, prefixes)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Change prefixed value for IE
|
||||
*/
|
||||
set(decl, prefix) {
|
||||
if (prefix === '-ms-' && decl.value === 'contain') {
|
||||
decl.value = 'element'
|
||||
}
|
||||
return super.set(decl, prefix)
|
||||
}
|
||||
}
|
||||
|
||||
UserSelect.names = ['user-select']
|
||||
|
||||
module.exports = UserSelect
|
||||
Loading…
Add table
Add a link
Reference in a new issue