Skip to content

Commit 37f8cc8

Browse files
committed
Add browser support in the documentation
1 parent 6a7b09f commit 37f8cc8

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ This provide a set of [Chai](http://chaijs.com/) assertions for [Facebook's Immu
1111

1212
## Installation
1313

14+
### Node.js
15+
1416
Install via [npm](http://npmjs.org):
1517

1618
```bash
@@ -26,6 +28,15 @@ var chaiImmutable = require('chai-immutable');
2628
chai.use(chaiImmutable);
2729
```
2830

31+
### In the browser
32+
33+
Include this plugin after including Chai and Immutable. It will automatically
34+
plug in to Chai and be ready for use:
35+
36+
```html
37+
<script src="chai-immutable.js"></script>
38+
```
39+
2940
## BDD API Reference
3041

3142
### .empty

0 commit comments

Comments
 (0)