mirror of
https://github.com/miniflux/v2.git
synced 2025-10-15 19:42:07 +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
6
vendor/github.com/tdewolff/minify/svg/svg_test.go
generated
vendored
6
vendor/github.com/tdewolff/minify/svg/svg_test.go
generated
vendored
|
@ -41,9 +41,9 @@ func TestSVG(t *testing.T) {
|
|||
{`<path d="M20 20l-10-10z"/>`, `<path d="M20 20 10 10z"/>`},
|
||||
{`<?xml version="1.0" encoding="utf-8"?>`, ``},
|
||||
{`<svg viewbox="0 0 16 16"><path/></svg>`, `<svg viewbox="0 0 16 16"><path/></svg>`},
|
||||
{`<g></g>`, ``},
|
||||
{`<g><path/></g>`, `<path/>`},
|
||||
{`<g id="a"><g><path/></g></g>`, `<g id="a"><path/></g>`},
|
||||
{`<g></g>`, `<g/>`},
|
||||
{`<g><path/></g>`, `<g><path/></g>`},
|
||||
{`<g id="a"><g><path/></g></g>`, `<g id="a"><g><path/></g></g>`},
|
||||
{`<path fill="#ffffff"/>`, `<path fill="#fff"/>`},
|
||||
{`<path fill="#fff"/>`, `<path fill="#fff"/>`},
|
||||
{`<path fill="white"/>`, `<path fill="#fff"/>`},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue