From 8010908eba7c411188d0feed5ea6c6e02ea6fa2f Mon Sep 17 00:00:00 2001 From: David Ortner Date: Thu, 6 Oct 2022 19:07:33 +0200 Subject: [PATCH] #592@patch: Updates the documentation for how to set window.innerWidth and window.innerHeight. --- packages/happy-dom/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/happy-dom/README.md b/packages/happy-dom/README.md index 08465ca3e..0e9f937c0 100644 --- a/packages/happy-dom/README.md +++ b/packages/happy-dom/README.md @@ -87,7 +87,7 @@ import { Window } from 'happy-dom'; const window = new Window({ innerWidth: 1024, innerHeight: 768, - url: 'http://localhost:8080 + url: 'http://localhost:8080' }); const document = window.document; @@ -148,7 +148,7 @@ import { Window } from 'happy-dom'; const window = new Window({ innerWidth: 1024, innerHeight: 768, - url: 'http://localhost:8080 + url: 'http://localhost:8080' }); const document = window.document;