Skip to content

Commit

Permalink
#592@patch: Updates the documentation for how to set window.innerWidt…
Browse files Browse the repository at this point in the history
…h and window.innerHeight.
  • Loading branch information
capricorn86 committed Oct 6, 2022
1 parent 540ac3a commit 8010908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/happy-dom/README.md
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 8010908

Please sign in to comment.