Skip to content

Commit 142c77e

Browse files
author
J.R. Patten
committed
Update readme w/ require() instructions
1 parent d763d6b commit 142c77e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ Include the diffDOM.js file in your HTML like this:
2121
<script src="diffDOM.js">
2222
```
2323

24+
Or like this in node/browserify:
25+
```
26+
var diffDOM = require("diffDOM");
27+
```
28+
2429
Then create an instance of diffDOM within the javascript code:
2530
```
2631
dd = new diffDOM();

0 commit comments

Comments
 (0)