Skip to content

Commit bc8541c

Browse files
alxscmsmarcj
authored andcommitted
Fix require in documentation README.md (marcj#200)
1 parent 9801bb0 commit bc8541c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,15 @@ Here live http://marcj.github.io/css-element-queries/.
8888
If you're using a module loader you need to trigger the event listening or initialization yourself:
8989

9090
```javascript
91-
var EQ = require('node_modules/css-element-queries/ElementQueries');
91+
var ElementQueries = require('css-element-queries/src/ElementQueries');
9292

9393
//attaches to DOMLoadContent
94-
EQ.listen();
94+
ElementQueries.listen();
9595

9696
//or if you want to trigger it yourself.
9797
// Parse all available CSS and attach ResizeSensor to those elements which have rules attached
9898
// (make sure this is called after 'load' event, because CSS files are not ready when domReady is fired.
99-
EQ.init();
99+
ElementQueries.init();
100100
```
101101

102102
## Issues

0 commit comments

Comments
 (0)