diff options
author | Johannes Ewald <johannes.ewald@peerigon.com> | 2014-07-08 04:48:17 +0400 |
---|---|---|
committer | Johannes Ewald <johannes.ewald@peerigon.com> | 2014-07-08 04:48:17 +0400 |
commit | a04a8eed1213dcb0a8f3527db878c3b1fb3e51fc (patch) | |
tree | 3ea7093e0fa2289cfa7fe8d49228cb5405ee793f /README.md | |
parent | cdc24b0629d2d15ee6410cb9b3b7417b666625f9 (diff) |
Add line-breaks to caveats
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -108,7 +108,7 @@ myModule.__set__({ ### Caveats -**Difference to require()** +**Difference to require()**<br> Every call of rewire() executes the module again and returns a fresh instance. ```javascript @@ -117,7 +117,7 @@ rewire("./myModule.js") === rewire("./myModule.js"); // = false This can especially be a problem if the module is not idempotent [like mongoose models](https://github.com/jhnns/rewire/issues/27). -**Changing globals** +**Changing globals**<br> Be careful, if you do something like this you'll change your global console instance. ```javascript |