Skip to content

Commit

Permalink
add a reference to window.close in the readme closes #226
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpvar committed Feb 17, 2012
1 parent a0e95f4 commit 276bf3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -106,8 +106,12 @@ or with raw javascript source
- `errors` : array of errors
- `window` : a brand new window

_example:_ jsdom.env(html, function(`errors`, `window`) {})
_example:_

jsdom.env(html, function(`errors`, `window`) {
// free memory associated with the window
window.close();
});

If you would like to specify a configuration object

Expand Down

0 comments on commit 276bf3e

Please sign in to comment.