ES6 is optional

This commit is contained in:
Namhyeon Go 2021-04-29 22:57:53 +09:00
parent f008499259
commit 29637a06b9
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ WelsonJS - Build a Windows desktop apps with JavaScript, HTML, and CSS based on
![Structure](app/assets/img/structure.png) ![Structure](app/assets/img/structure.png)
## Specifications ## Specifications
- ES6(ECMAScript 6), ES5(ECMAScript 5), JSON compatibility - ES6(ECMAScript 6, Optional), ES5(ECMAScript 5), JSON compatibility
- [github:es-shims/es5-shim](https://github.com/es-shims/es5-shim) - [github:es-shims/es5-shim](https://github.com/es-shims/es5-shim)
- [github:paulmillr/es6-shim](https://github.com/paulmillr/es6-shim) - [github:paulmillr/es6-shim](https://github.com/paulmillr/es6-shim)
- [github:bestiejs/json3](https://github.com/bestiejs/json3) - [github:bestiejs/json3](https://github.com/bestiejs/json3)

6
app.js
View File

@ -305,9 +305,9 @@ require("app/assets/js/es5-sham-4.5.15.min");
// Squel.js SQL query string builder for Javascript // Squel.js SQL query string builder for Javascript
var squel = require("app/assets/js/squel-basic-5.13.0.hiddentao-afa1cb5.edited"); var squel = require("app/assets/js/squel-basic-5.13.0.hiddentao-afa1cb5.edited");
// ECMAScript 6 compatibility shims for legacy JS engines // (Optional) ECMAScript 6 compatibility shims for legacy JS engines
require("app/assets/js/es6-shim-0.35.6.ljharb-62dbad5.edited"); //require("app/assets/js/es6-shim-0.35.6.ljharb-62dbad5.edited");
require("app/assets/js/es6-sham.0.35.6.ljharb-62dbad5"); //require("app/assets/js/es6-sham.0.35.6.ljharb-62dbad5");
// Dive into entrypoint // Dive into entrypoint
function main() { function main() {