@@ -14,7 +14,6 @@ rewire does **not** load the file and eval the contents to emulate node's requir
14
14
15
15
[ ![ Build Status] ( https://secure.travis-ci.org/jhnns/rewire.png?branch=master )] ( http://travis-ci.org/jhnns/rewire )
16
16
17
- -----------------------------------------------------------------
18
17
<br />
19
18
20
19
Installation
@@ -25,7 +24,6 @@ Installation
25
24
** For older node versions:** <br />
26
25
rewire is tested with node 0.7.x. I recommend to run the unit tests via` mocha ` in the rewire-folder before using rewire with older node versions.
27
26
28
- -----------------------------------------------------------------
29
27
<br />
30
28
31
29
Examples
@@ -107,7 +105,6 @@ rewire("./myModule.js") === rewire("./myModule.js"); // = false
107
105
rewire .reset ();
108
106
```
109
107
110
- -----------------------------------------------------------------
111
108
<br />
112
109
113
110
##API
@@ -143,38 +140,8 @@ Takes all keys as variable names and sets the values respectively.
143
140
144
141
Returns the private variable.
145
142
146
-
147
- -----------------------------------------------------------------
148
143
<br />
149
144
150
145
##Credits
151
146
152
- This module is inspired by the great[ injectr] ( https://github.com/nathanmacinnes/injectr " injectr ") -module.
153
-
154
- -----------------------------------------------------------------
155
- <br />
156
-
157
- ##License
158
-
159
- (The MIT License)
160
-
161
- Copyright (c) 2012 Johannes Ewald< ; mail@johannesewald.de > ;
162
-
163
- Permission is hereby granted, free of charge, to any person obtaining
164
- a copy of this software and associated documentation files (the
165
- 'Software'), to deal in the Software without restriction, including
166
- without limitation the rights to use, copy, modify, merge, publish,
167
- distribute, sublicense, and/or sell copies of the Software, and to
168
- permit persons to whom the Software is furnished to do so, subject to
169
- the following conditions:
170
-
171
- The above copyright notice and this permission notice shall be
172
- included in all copies or substantial portions of the Software.
173
-
174
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
175
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
176
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
177
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
178
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
179
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
180
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
147
+ This module is inspired by the great[ injectr] ( https://github.com/nathanmacinnes/injectr " injectr ") -module.