Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
function disableCodeGeneration
import { disableCodeGeneration } from "https://deno.land/x/deno_dom@v0.1.40/src/dom/selectors/selectors.ts";

Explicitly disable querySelector/All code generation with the Function constructor forcing the Sizzle engine. Enables those APIs on platforms like Deno Deploy that don't allow code generation.