Skip to content

Commit

Permalink
Rollback ES6 modules - WebView2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
TCB13 committed Oct 24, 2024
1 parent 6471a4b commit 924d5fa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ 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.

![TBCalc](https://cdn.tcb13.com/2022/tbcalc-intro2.gif)

# 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.
2 changes: 1 addition & 1 deletion functions/credit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export class Credit {
class Credit {

static docs = {
name: "credit",
Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
<script src="popper.min.js"></script>
<script src="bootstrap.min.js"></script>
<script src="math.min.js"></script>
<script type="module" src="main.js"></script>
<script src="functions/credit.js"></script>
<script src="main.js"></script>
</head>
<body>

Expand Down
1 change: 0 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {Credit} from "./functions/credit.js";

let settings = {
open_help: true,
Expand Down

0 comments on commit 924d5fa

Please sign in to comment.