Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pakastin/nodom
Browse files Browse the repository at this point in the history
  • Loading branch information
pakastin committed Feb 8, 2019
2 parents 3daddb3 + a78cbd2 commit 6e9a191
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ npm install nodom
```js
const { Document } = require('nodom');
global.document = new Document();
global.SVGElement = SVGElement;
const { el, mount } = require('redom');

mount(document.body, el('h1', 'Hello world!'));
Expand Down

0 comments on commit 6e9a191

Please sign in to comment.