Permalink
Browse files

Fix: indentation in features examples

  • Loading branch information...
1 parent 31227ce commit b2a59ae669ac3cd5afc7d2c5b1e321a3d1290910 @tmpvar committed Nov 19, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 README.md
View
@@ -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
};
```

0 comments on commit b2a59ae

Please sign in to comment.