A Javascript calculator developed for the Think Through Math product, released to the world as open source.
See examples and usage as documented on the demo page.
The JavaScript Calculator leans heavily upon the
ttm-coffeescript-math
library, which is provides all of its
mathematical logic.
-
Install Node.js if you haven't already (http://nodejs.org/download/), or use your system's package manager.
-
Clone the repository:
git clone git@github.com:thinkthroughmath/javascript-calculator.git
cd javascript-calculator
- Install grunt, grunt-cli, and bower globally:
npm install -g grunt grunt-cli bower
- Install the required packages:
npm install
- Install the bower packages:
bower install
- Start the development server:
grunt serve
- In order to run the tests:
grunt test
The MIT License (MIT)
Copyright (c) 2013 Think Through Learning Inc
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.