Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a04a8ee

Browse files
committed
Add line-breaks to caveats
1 parent cdc24b0 commit a04a8ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ myModule.__set__({
108108

109109
### Caveats
110110

111-
**Difference to require()**
111+
**Difference to require()**<br>
112112
Every call of rewire() executes the module again and returns a fresh instance.
113113

114114
```javascript
@@ -117,7 +117,7 @@ rewire("./myModule.js") === rewire("./myModule.js"); // = false
117117

118118
This can especially be a problem if the module is not idempotent [like mongoose models](https://github.com/jhnns/rewire/issues/27).
119119

120-
**Changing globals**
120+
**Changing globals**<br>
121121
Be careful, if you do something like this you'll change your global console instance.
122122

123123
```javascript

0 commit comments

Comments
 (0)