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:
authorjhnns <johannes.ewald@peerigon.com>2013-10-01 01:12:08 +0400
committerjhnns <johannes.ewald@peerigon.com>2013-10-01 01:12:08 +0400
commitf9adaa4bf258a66f0ee09de534b298f1d680c877 (patch)
treebf1aa829a93bd4787e07fcddada08a37c8d39b2a /README.md
parentdcd95029b5bac6719cc2cafecebcb170232a2661 (diff)
- re-added note on CoffeeScript #8 (since require.extensions seems to stay - though it's bad practice in production code)
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5541a64..f098345 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,12 @@ rewire adds a special setter and getter to modules so you can modify their behav
- leak private variables
- override variables within the module.
-rewire does **not** load the file and eval the contents to emulate node's require mechanism. In fact it uses node's own require to load the module. Thus your module behaves exactly the same in your test environment as under regular circumstances (except your modifications).
+rewire does **not** load the file and eval the contents to emulate node's require mechanism. In fact it uses node's own
+require to load the module. Thus your module behaves exactly the same in your test environment as under regular
+circumstances (except your modifications).
+
+Good news to all caffeine-addicts: rewire works also with [Coffee-Script](http://coffeescript.org/). Note that in this
+case CoffeeScript needs to be listed in your devDependencies.
If you want to use rewire also on the client-side take a look at [client-side bundlers](https://github.com/jhnns/rewire#client-side-bundlers)