Set options.stats = false for build.sh and Node.js

This commit is contained in:
Jürg Lehni 2013-05-27 15:33:28 -07:00
parent cfdc479108
commit b92be7ecf3
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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("<html><body></body></html>"),