mirror of
https://github.com/miniflux/v2.git
synced 2025-10-10 19:32:06 +00:00
Refactor assets bundler and split Javascript files
This commit is contained in:
parent
e1c56b2e53
commit
53deb0b8cd
49 changed files with 2837 additions and 2000 deletions
28
vendor/github.com/tdewolff/minify/css/table.go
generated
vendored
28
vendor/github.com/tdewolff/minify/css/table.go
generated
vendored
|
@ -2,14 +2,26 @@ package css
|
|||
|
||||
import "github.com/tdewolff/parse/css"
|
||||
|
||||
var requiredDimension = map[string]bool{
|
||||
"s": true,
|
||||
"ms": true,
|
||||
"dpi": true,
|
||||
"dpcm": true,
|
||||
"dppx": true,
|
||||
"hz": true,
|
||||
"khz": true,
|
||||
var optionalZeroDimension = map[string]bool{
|
||||
"px": true,
|
||||
"mm": true,
|
||||
"q": true,
|
||||
"cm": true,
|
||||
"in": true,
|
||||
"pt": true,
|
||||
"pc": true,
|
||||
"ch": true,
|
||||
"em": true,
|
||||
"ex": true,
|
||||
"rem": true,
|
||||
"vh": true,
|
||||
"vw": true,
|
||||
"vmin": true,
|
||||
"vmax": true,
|
||||
"deg": true,
|
||||
"grad": true,
|
||||
"rad": true,
|
||||
"turn": true,
|
||||
}
|
||||
|
||||
// Uses http://www.w3.org/TR/2010/PR-css3-color-20101028/ for colors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue