From b92be7ecf3768d2b016e3a6ccc7888054fa25217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 27 May 2013 15:33:28 -0700 Subject: [PATCH] Set options.stats = false for build.sh and Node.js --- build/preprocess.sh | 2 +- src/node/index.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/preprocess.sh b/build/preprocess.sh index b76f8357..6acfb1e9 100755 --- a/build/preprocess.sh +++ b/build/preprocess.sh @@ -36,7 +36,7 @@ OPTIONS=$(printf '%q' $(node -e " process.stdout.write(JSON.stringify(options)); ")) # Build the prepo.js command out of it, passing on version and date as defines: -COMMAND="./prepro.js -d $OPTIONS -d '{ \"version\": \"$VERSION\", \"date\": \"$DATE\" }' $3 $2" +COMMAND="./prepro.js -d $OPTIONS -d '{ \"version\": \"$VERSION\", \"date\": \"$DATE\", \"stats\": false }' $3 $2" case $1 in commented) diff --git a/src/node/index.js b/src/node/index.js index 960365cb..3b95bcf2 100644 --- a/src/node/index.js +++ b/src/node/index.js @@ -25,6 +25,7 @@ eval(fs.readFileSync(path.resolve(__dirname, '../options.js'), 'utf8')); options.version = 'dev'; options.browser = false; options.server = true; +options.stats = false; // Create a document and a window using jsdom, e.g. for exportSVG() var doc = jsdom.jsdom(""),