File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ rewire does **not** load the file and eval the contents to emulate node's requir
1313Furthermore rewire comes also with support for various client-side bundlers (see [ below] ( #client-side-bundlers ) ).
1414
1515[ ![ Build Status] ( https://secure.travis-ci.org/jhnns/rewire.png?branch=master )] ( http://travis-ci.org/jhnns/rewire )
16+ [ ![ Dependency Status] ( http://david-dm.org/jhnns/rewire/status.png )] ( http://david-dm.org/jhnns/rewire )
17+ Dependency tracking by [ David] ( http://david-dm.org/ )
1618
1719<br />
1820
@@ -36,11 +38,11 @@ var fs = require("fs"),
3638 http = require (" http" ),
3739 someOtherVar = " hi" ,
3840 myPrivateVar = 1 ;
39-
41+
4042function readSomethingFromFileSystem (cb ) {
4143 // But no scoped variables
4244 var path = " /somewhere/on/the/disk" ;
43-
45+
4446 console .log (" Reading from file system ..." );
4547 fs .readFile (path, " utf8" , cb);
4648}
You can’t perform that action at this time.
0 commit comments