From 2fc9156e93f14137a46393232bc01d15a442d0b2 Mon Sep 17 00:00:00 2001 From: felipe Date: Wed, 8 Mar 2017 17:17:48 +0100 Subject: [PATCH] remove console.log statements --- ts/export/packer/packer.ts | 11 ----------- ts/styles/factory.ts | 3 +-- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/ts/export/packer/packer.ts b/ts/export/packer/packer.ts index e1104ec3da..b7838c5ba3 100644 --- a/ts/export/packer/packer.ts +++ b/ts/export/packer/packer.ts @@ -49,7 +49,6 @@ export abstract class Packer { public pack(output: any): void { this.archive.pipe(output); - console.log(appRoot.path + "/template"); this.archive.glob("**", { expand: true, cwd: appRoot.path + "/template", @@ -60,20 +59,10 @@ export abstract class Packer { cwd: appRoot.path + "/template", }); - // this.archive.file(appRoot.path + "/template/[Content_Types].xml", { name: "[Content_Types].xml" }); - // console.log(__dirname + "/packer.js"); - // this.archive.file(__dirname + "/packer.js", { name: "/[Content_Types].xml" }); - - /*this.archive.directory(appRoot.path + "/template", { - name: "/root/g.txt", - prefix: "root" - });*/ const xmlDocument = xml(this.formatter.format(this.document)); const xmlStyles = xml(this.formatter.format(this.style)); const xmlProperties = xml(this.formatter.format(this.properties), { declaration: { standalone: "yes", encoding: "UTF-8" } }); const xmlNumbering = xml(this.formatter.format(this.numbering)); - // console.log(JSON.stringify(this.numbering, null, " ")); - console.log(xmlNumbering); this.archive.append(xmlDocument, { name: "word/document.xml", }); diff --git a/ts/styles/factory.ts b/ts/styles/factory.ts index d44e4c3b09..274c8df834 100644 --- a/ts/styles/factory.ts +++ b/ts/styles/factory.ts @@ -54,7 +54,6 @@ export class DefaultStylesFactory { // listParagraph.addParagraphProperty(); styles.push(listParagraph); - // console.log(JSON.stringify(styles, null, " ")); return styles; } -} +} \ No newline at end of file