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 Ewald <johannes.ewald@peerigon.com>2015-02-23 03:41:19 +0300
committerJohannes Ewald <johannes.ewald@peerigon.com>2015-02-23 03:41:19 +0300
commitfab30be52aa7b236a143dfe10cac9f6c58fc4b3f (patch)
tree195f380bddc6261d7cc3fb6834ef245d9f42d448 /README.md
parente70efd18f9e1d5993fc0a7f1decb5fe6720b3bd8 (diff)
Add note on special globals
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index e02bfc5..39d8936 100644
--- a/README.md
+++ b/README.md
@@ -158,7 +158,10 @@ rewire imports global variables into the local scope by prepending a list of `va
var someGlobalVar = global.someGlobalVar;
```
-If `someGlobalVar` is not a valid variable name, rewire just ignores it. **In this case you're not able to override the global variable locally**.
+If `someGlobalVar` is not a valid variable name, rewire just ignores it. **In this case you're not able to override the global variable locally**.
+
+**Special globals**<br>
+Please be aware that you can't rewire `eval()` or the global object itself.
<br />