mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-05 09:56:22 +00:00
chore: remove debugging console logs
This commit is contained in:
parent
6b0ea0c7bd
commit
5dd3d1a3b4
@ -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 ) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user