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

Commitc6aacb4

Browse files
committed
changed package.json
1 parent9b99442 commitc6aacb4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ rewire("./myModuleA.js", null, null, null, false) !== require("./myModuleA.js");
9797

9898
##API
9999

100-
**rewire(***filename, mocks, injections, leaks, cache*)
100+
**rewire(***filename, mocks, injections, leaks, cache***)**
101101

102102
-*{!String} filename*: Path to the module that shall be rewired. Use it exactly like require().
103103
-*{Object} mocks (optional)*: An object with mocks. Keys should be the exactly the same like they're required in the target module. So if you write```require("../../myModules/myModuleA.js")``` you need to pass```{"../../myModules/myModuleA.js": myModuleAMock}```.

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"web" :"http://johannesewald.de"
1616
},
1717
"main" :"lib/index.js",
18+
"homepage":"http://jhnns.github.com/rewire",
1819
"bugs" : {
1920
"url" :"http://github.com/jhnns/rewire/issues",
2021
"email" :"mail@johannesewald.de"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp