f3e6559794
The primary motivation behind this was the concise function syntax, but other features like block-level scoping, templating, and variable object keys are quite convenient. I'm sure I'll be using others in this project as well. This may raise the question: isn't it odd using something that provides class support in a library that is intended to augment GNU ease.js, which is itself a class framework? Well, no, not really: GNU ease.js provides many more powerful features that ES6/7 do not, which will be showcased extensively in this library. ease.js will still work well with native EMCAScript and interop will be adjusted as needed, but ease.js will not become irrelevant. |
||
---|---|---|
doc | ||
src | ||
test | ||
tools | ||
.gitignore | ||
COPYING | ||
Makefile.am | ||
README | ||
README.md | ||
configure.ac | ||
index.js | ||
package.json.in |
README.md
The JavaScript Tonic
jsTonic is a component collection for JavaScript build upon GNU ease.js, providing a general library to solve real-world problems in object-oriented JavaScript development.
jsTonic is not functional, but focuses on immutable state and composition.
Why jsTonic?
This project is written by the author of GNU ease.js; it provides functionality that was initially anticipated to be a part of ease.js itself, but was able to be implemented in a more modular manner. Consequently, the author did not find it appropriate to be part of ease.js, as these components are built atop of it.
This project contains components that solve problems encountered during the author's development using GNU ease.js and other JavaScript libraries. Other libraries likely exist to solve these problems---jsTonic exists to integrate it cleanly with GNU ease.js.
License
jstonic is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.