Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita04a8ee

Browse files
committed
Add line-breaks to caveats
1 parentcdc24b0 commita04a8ee

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)

[8]ページ先頭

©2009-2025 Movatter.jp