mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
oops
This commit is contained in:
parent
e6dec20f3c
commit
39d7529535
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
import { URLMeta, rewriteUrl, unrewriteUrl } from "./url";
|
import { URLMeta, rewriteUrl, unrewriteUrl } from "./url";
|
||||||
|
|
||||||
export function rewriteCss(css: string, meta: URLMeta) {
|
export function rewriteCss(css: string, meta: URLMeta) {
|
||||||
handleCss("unrewrite", css, meta);
|
return handleCss("unrewrite", css, meta);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function unrewriteCss(css: string) {
|
export function unrewriteCss(css: string) {
|
||||||
handleCss("rewrite", css);
|
return handleCss("rewrite", css);
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleCss(type: "rewrite" | "unrewrite", css: string, meta?: URLMeta) {
|
function handleCss(type: "rewrite" | "unrewrite", css: string, meta?: URLMeta) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue