diff options
author | Johannes Ewald <mail@johannesewald.de> | 2013-02-12 18:25:49 +0400 |
---|---|---|
committer | Johannes Ewald <mail@johannesewald.de> | 2013-02-12 18:25:49 +0400 |
commit | 37e8a3476edeb188c642cfd41ddc76a7dfdc0b0f (patch) | |
tree | c5ca1d36eca98de7dfedb53dd51b24d0ca4bd6e2 | |
parent | 806e4bb3cc4f713bfaaaccce157bfc6677d5e278 (diff) | |
parent | e1d59f6f8a342f37cff656f83abfc01538188db0 (diff) |
Merge remote-tracking branch 'origin/master'v1.0.4
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,6 +13,8 @@ rewire does **not** load the file and eval the contents to emulate node's requir Furthermore rewire comes also with support for various client-side bundlers (see [below](#client-side-bundlers)). [![Build Status](https://secure.travis-ci.org/jhnns/rewire.png?branch=master)](http://travis-ci.org/jhnns/rewire) +[![Dependency Status](http://david-dm.org/jhnns/rewire/status.png)](http://david-dm.org/jhnns/rewire) +Dependency tracking by [David](http://david-dm.org/) <br /> @@ -36,11 +38,11 @@ var fs = require("fs"), http = require("http"), someOtherVar = "hi", myPrivateVar = 1; - + function readSomethingFromFileSystem(cb) { // But no scoped variables var path = "/somewhere/on/the/disk"; - + console.log("Reading from file system ..."); fs.readFile(path, "utf8", cb); } |