From c5cffea0a45fd027a9d56fe5420ea4e3971ac94d Mon Sep 17 00:00:00 2001 From: gapmiss Date: Mon, 11 Mar 2024 17:54:20 -0400 Subject: [PATCH] remove codepen console.log --- src/main.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.ts b/src/main.ts index f94d589..4cf1394 100644 --- a/src/main.ts +++ b/src/main.ts @@ -161,8 +161,8 @@ export default class LivecodesPlugin extends Plugin { await requestUrl(cpUrl).then( async (f) => { let htmlContent = f.text; - console.log('htmlContent'); - console.log(htmlContent); + // console.log('htmlContent'); + // console.log(htmlContent); let cnf:Partial = {title: '', markup:{content:'',language:''},style:{content:'',language:''},script:{content:'',language:''}}; try { // https://cheerio.js.org/docs/basics/loading @@ -178,11 +178,11 @@ export default class LivecodesPlugin extends Plugin { return; } let penJson = JSON.parse(content); - console.log('penJson'); - console.log(penJson); + // console.log('penJson'); + // console.log(penJson); let itemJson = JSON.parse(penJson.__item); - console.log('itemJson'); - console.log(itemJson); + // console.log('itemJson'); + // console.log(itemJson); await saveAsModal(this.app, "New livecodes playground", "Save as:", (itemJson.title !== '') ? itemJson.title : 'Untitled', "e.g. New Playground", false) .then(async (fName:string) => { if (fName?.length === 0) {