Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 6d8140a

Browse files
committed
Clean up
1 parent 4eccf82 commit 6d8140a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/core/style.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const inDeno = typeof Deno !== "undefined" && typeof Deno.env === "object";
1+
const deno = typeof Deno !== "undefined" && typeof Deno.env === "object";
22

33
export function applyCSS(url: string, css: string) {
4-
if (!inDeno) {
4+
if (!deno) {
55
const { document } = window;
66
const ssrEl = Array.from<Element>(document.head.children).find((el: Element) =>
77
el.getAttribute("data-module-id") === url &&

0 commit comments

Comments
 (0)