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 03:49:51 +0400
committerJohannes <mail@johannesewald.de>2012-06-04 03:49:51 +0400
commit3cef6560f191b6647033f470b631762845b6f476 (patch)
tree5d44b2223824d88e1331668f7b5168617f8abce6 /README.md
parenteb120df32a3a1474b2051997d014a9c0c4836d62 (diff)
Update master
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 cb63c66..ec73674 100644
--- a/README.md
+++ b/README.md
@@ -90,7 +90,7 @@ rewiredModule.__.myPrivateVar2; // returns former private myPrivateVar2
// By disabling the module cache the rewired module will not be cached.
// Any later require()-calls within other modules will now return the original
// module again instead of the rewired. Caching is enabled by default.
-rewire("./myModuleA.js", null, null, null, false) === require("./myModuleA.js"); // = false
+rewire("./myModuleA.js", null, null, null, false) !== require("./myModuleA.js"); // = true
```
-----------------------------------------------------------------