diff options
Diffstat (limited to 'src/html/env.nim')
-rw-r--r-- | src/html/env.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html/env.nim b/src/html/env.nim index ca7e497d..5883dabf 100644 --- a/src/html/env.nim +++ b/src/html/env.nim @@ -6,6 +6,7 @@ import html/htmlparser import io/loader import io/promise import io/request +import io/response import io/window import js/intl import js/javascript @@ -120,6 +121,7 @@ proc addScripting*(window: Window, selector: Selector[int]) = ctx.addBlobModule() ctx.addFormDataModule() ctx.addRequestModule() + ctx.addResponseModule() proc runJSJobs*(window: Window) = window.jsrt.runJSJobs(window.console.err) |