From 924d5fa54c49a235f6dc46b97218877ca69cb793 Mon Sep 17 00:00:00 2001 From: TCB13 Date: Thu, 24 Oct 2024 20:32:46 +0100 Subject: [PATCH] Rollback ES6 modules - WebView2 compatibility --- README.md | 10 +++++----- functions/credit.js | 2 +- index.html | 3 ++- main.js | 1 - 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 74480fb..8c7c479 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ The best desktop console calculator yet! 🌐 Try TBCalc Online: https://tbcalc.tcb13.com -💻 **TBCalc Windows App:** https://github.com/TCB13/TBCalc/releases/download/1.2/TBCalc-v1-2-0-Setup.zip +💻 **TBCalc Windows App:** https://github.com/TCB13/TBCalc/releases/download/1.3/TBCalc-v1-3-0-Setup.zip **TBCalc** brings the power and usability of a console to everyday math. Most calculator applications are great, but unfortunately they provide a very poor experience when it comes keyboards. TBCalc fixes that by merging a typical console enviroment with a powerful calculator. @@ -11,15 +11,15 @@ The best desktop console calculator yet! # Project Philosophy -* Make the best desktop calculator, optimized for keyboards instead of touch devices; +* Make the best desktop calculator, optimized for keyboards instead of touch; * Self-contained web application without external dependencies; -* No tracking and/or other intrusive stuff; +* No user tracking and/or other intrusive stuff; * No build process; -* Take advange of ES6 and browser's latest features / ignore older browsers. +* Take advange of ES6 and browser's latest features as long as they work in Microsoft Edge WebView2. ## Dependencies TBCalc is developed to be a self-contained web application without external dependencies. It comes with `math.js`, `bootstrap`, `boostrap-icons` and `popper.js`. Clone this repository and you're good to go. ________ -Copyright © TCB13 (Tadeu Bento) 2022. Licensed under GPLv3. +Copyright © TCB13 (Tadeu Bento) 2022-2024. Licensed under GPLv3. diff --git a/functions/credit.js b/functions/credit.js index b3b762e..59a36c5 100644 --- a/functions/credit.js +++ b/functions/credit.js @@ -1,4 +1,4 @@ -export class Credit { +class Credit { static docs = { name: "credit", diff --git a/index.html b/index.html index 636f9d1..d5d430d 100644 --- a/index.html +++ b/index.html @@ -42,7 +42,8 @@ - + + diff --git a/main.js b/main.js index 00d7e10..b2d99ae 100644 --- a/main.js +++ b/main.js @@ -16,7 +16,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -import {Credit} from "./functions/credit.js"; let settings = { open_help: true,