Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix: indentation in features examples

  • Loading branch information...
commit b2a59ae669ac3cd5afc7d2c5b1e321a3d1290910 1 parent 31227ce
@tmpvar authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 README.md
14 README.md
@@ -154,9 +154,9 @@ One of the goals of jsdom is to be as minimal and light as possible. This sectio
```js
var jsdom = require("jsdom").jsdom;
var doc = jsdom("<html><body></body></html>", null, {
- features: {
- FetchExternalResources : ["img"]
- }
+ features: {
+ FetchExternalResources : ["img"]
+ }
});
```
@@ -166,10 +166,10 @@ One of the goals of jsdom is to be as minimal and light as possible. This sectio
```js
require("jsdom").defaultDocumentFeatures = {
- FetchExternalResources: ["script"],
- ProcessExternalResources: false,
- MutationEvents: false,
- QuerySelector: false
+ FetchExternalResources: ["script"],
+ ProcessExternalResources: false,
+ MutationEvents: false,
+ QuerySelector: false
};
```
Please sign in to comment.
Something went wrong with that request. Please try again.