From 38771fee97bf81d645240238630175adbd56bcbc Mon Sep 17 00:00:00 2001 From: Aaryan Garg Date: Thu, 20 Oct 2022 04:29:25 +0530 Subject: [PATCH 1/2] Add frontend GoLang support --- frontend/content.js | 1 - frontend/index.html | 1 + frontend/mainpage.js | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/content.js b/frontend/content.js index 146e217..c6a3ad2 100644 --- a/frontend/content.js +++ b/frontend/content.js @@ -26,7 +26,6 @@ function setvalue() { }); if (localStorage.getItem('lang') === 'C++') { localStorage.setItem('lang', 'Cpp') - (localStorage.getItem('lang')) } diff --git a/frontend/index.html b/frontend/index.html index f184f8c..6d139ea 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -18,6 +18,7 @@

Collate

+
diff --git a/frontend/mainpage.js b/frontend/mainpage.js index 9181194..7ffe50e 100644 --- a/frontend/mainpage.js +++ b/frontend/mainpage.js @@ -1,7 +1,8 @@ const buttons = [ { id: 'pythonButton', lang: 'Python'}, { id: 'cppButton', lang: 'Cpp'}, - { id: 'javaButton', lang: 'Java'} + { id: 'javaButton', lang: 'Java'}, + { id: 'javaButton', lang: 'GoLang'} ]; const elements = {}; const reset = document.getElementById("resetBtn") From 256aff23c1cc9a352e24e2254094aabe84877694 Mon Sep 17 00:00:00 2001 From: Aaryan Garg Date: Thu, 20 Oct 2022 04:41:39 +0530 Subject: [PATCH 2/2] Fix github handle in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a1baf2d..282a131 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Assuming you have [Dependencies](#Dependencies) installed, run the following com 1. Clone this repository. ```bash - $ git clone https://github.com/silentC1C4D4/collate + $ git clone https://github.com/Sickaada/collate ``` 2. Pull these three images.