diff --git a/addform.html b/addform.html index 6f1cfae..b0007d0 100644 --- a/addform.html +++ b/addform.html @@ -342,13 +342,15 @@
/g, '').replace(/<\/p>/g, ''); } function createTreeWithHeading(data, container) { - console.log('data', data.question_paper_title); + // console.log('data', data.question_paper_title); // Extract the treeTitle from the JSON data and remove
tags const treeTitle = removeParagraphTags(data.question_paper_title); @@ -41,7 +41,7 @@ function navpane() { // const sectionId = section.section_id; sectionDiv.className = 'section main-heading'; // sectionDiv.id = sectionId; - console.log('sectionDiv', sectionDiv) + // console.log('sectionDiv', sectionDiv) container.appendChild(sectionDiv); // Create arrow icon element @@ -121,7 +121,7 @@ function navpane() { nodeDiv.appendChild(bulletPoint); const questionLink = document.createElement('a'); - console.log('nodeDiv.id:', nodeDataId); + // console.log('nodeDiv.id:', nodeDataId); questionLink.href = '#' + nodeDataId; questionLink.style.color = '#740fd6'; @@ -178,7 +178,7 @@ function navpane() { }); const groupQuestionLink = document.createElement('a'); - console.log('groupTitleDiv.id:', groupTitleId); + // console.log('groupTitleDiv.id:', groupTitleId); groupQuestionLink.href = '#' + groupTitleId; groupQuestionLink.style.color = '#740fd6'; diff --git a/package-lock.json b/package-lock.json index d0eeba2..2758974 100644 --- a/package-lock.json +++ b/package-lock.json @@ -620,9 +620,9 @@ } }, "node_modules/electron": { - "version": "26.2.1", - "resolved": "https://registry.npmjs.org/electron/-/electron-26.2.1.tgz", - "integrity": "sha512-SNT24Cf/wRvfcFZQoERXjzswUlg5ouqhIuA2t9x2L7VdTn+2Jbs0QXRtOfzcnOV/raVMz3e8ICyaU2GGeciKLg==", + "version": "26.3.0", + "resolved": "https://registry.npmjs.org/electron/-/electron-26.3.0.tgz", + "integrity": "sha512-7ZpvSHu+jmqialSvywTZnOQZZGLqlyj+yV5HGDrEzFnMiFaXBRpbByHgoUhaExJ/8t/0xKQjKlMRAY65w+zNZQ==", "dev": true, "hasInstallScript": true, "dependencies": { diff --git a/xml2json.js b/xml2json.js index 3177c00..c13e16b 100644 --- a/xml2json.js +++ b/xml2json.js @@ -79,7 +79,7 @@ function getQuestionGroupNodes(questionGroup) questionGroupObj['questions'] = []; //handle questions var questionList = questionGroup.childNodes[5].childNodes; - console.log('No of quetions in GQ:' + questionList.length); + // console.log('No of quetions in GQ:' + questionList.length); for(let q = 0; q < questionList.length ;q++) {