Skip to content

Commit 9781558

Browse files
committed
fixup: f402c2a: jsutils.inDeno was oppsite
1 parent f20d85d commit 9781558

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pylib/jsutils/deno.nim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
const DenoDetectedJsExpr* = "typeof Deno !== 'undefined'"
23
when defined(js):
3-
let inDeno*{.importjs: "typeof Deno === 'undefined'".}: bool
4+
let inDeno*{.importjs: DenoDetectedJsExpr.}: bool
45

0 commit comments

Comments
 (0)