[Pkg-javascript-commits] [node-module-deps] 02/444: updated example

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:47:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-module-deps.

commit 33df401ea987f2c702d2aa1ab00b0a66d06b72fe
Author: James Halliday <mail at substack.net>
Date:   Mon Feb 11 06:19:55 2013 -0800

    updated example
---
 example/{json.js => deps.js} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/example/json.js b/example/deps.js
similarity index 66%
rename from example/json.js
rename to example/deps.js
index 74d3819..846a502 100644
--- a/example/json.js
+++ b/example/deps.js
@@ -4,4 +4,5 @@ var JSONStream = require('JSONStream');
 var stringify = JSONStream.stringify();
 stringify.pipe(process.stdout);
 
-parser(process.argv.slice(2)).pipe(stringify)
+var file = __dirname + '/files/main.js';
+parser(file).pipe(stringify);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-module-deps.git



More information about the Pkg-javascript-commits mailing list