From 5dd3d1a3b44e19706a01faaed63434e7a9d3c622 Mon Sep 17 00:00:00 2001 From: Ya Zhuang Date: Tue, 29 Dec 2015 03:40:42 +0800 Subject: [PATCH] chore: remove debugging console logs --- src/gen/html-png-generator.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gen/html-png-generator.js b/src/gen/html-png-generator.js index 3265066..4d9b5b9 100644 --- a/src/gen/html-png-generator.js +++ b/src/gen/html-png-generator.js @@ -16,7 +16,6 @@ Definition of the HtmlPngGenerator class. var HtmlPngGenerator = module.exports = TemplateGenerator.extend({ init: function() { -console.log('png generator init'); this._super( 'png', 'html' ); }, @@ -24,7 +23,6 @@ console.log('png generator init'); Generate the binary PDF. */ onBeforeSave: function( info ) { -console.log('png generator onBeforeSave'); png( info.mk, info.outputFile ); return null; // halt further processing } @@ -36,10 +34,6 @@ console.log('png generator onBeforeSave'); */ function png( markup, fOut ) { - console.log('>> #png()'); - console.log(markup); - console.log(fOut); - require('webshot')( markup , { encoding: 'binary', siteType: 'html' } ) .pipe( FS.createWriteStream( fOut ) );