mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-16 09: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
18
spec/dummy/node_modules/autoprefixer/lib/hacks/image-set.js
generated
vendored
Normal file
18
spec/dummy/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue