Skip to content

Commit

Permalink
Merge pull request #594 from capricorn86/task/592-update-documentatio…
Browse files Browse the repository at this point in the history
…n-for-setting-innerwidth-and-innerheight

#592@patch: Updates the documentation for how to set window.innerWidt…
  • Loading branch information
capricorn86 committed Oct 6, 2022
2 parents 39dfb05 + 26db628 commit 744dbab
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 744dbab

Please sign in to comment.