Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rewire.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes <mail@johannesewald.de>2012-06-04 05:12:30 +0400
committerJohannes <mail@johannesewald.de>2012-06-04 05:12:30 +0400
commitc6aacb4b4a07bf75dcfab47a226f42d5b7b3ccbf (patch)
tree92fb1422e53b1245052af237811cd7efdd9ab83a /README.md
parent9b9944227159af735434316fad7bd89cea945670 (diff)
changed package.jsonv0.1.0
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index f9db54c..48c708a 100644
--- a/README.md
+++ b/README.md
@@ -97,7 +97,7 @@ rewire("./myModuleA.js", null, null, null, false) !== require("./myModuleA.js");
##API
-**rewire(***filename, mocks, injections, leaks, cache*)
+**rewire(***filename, mocks, injections, leaks, cache***)**
- *{!String} filename*: Path to the module that shall be rewired. Use it exactly like require().
- *{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}```.