A loan and interest calculation plugin for jQuery.
For the most basic usage of the plugin, all you need is the code below. Of course, you may need to adjust src properties based on where you store files, and you'll want to add styles - but the core functionality will be there.
<div class="calculator"></div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="jquery.accrue.min.js"></script>
<script>
$(document).ready(function(){
$(".calculator").accrue();
});
</script>
git clone git@github.com:jpederson/Accrue.js.git accruejs
npm install accrue
bower install accruejs
To contribute, you'll need nodejs and Grunt installed. Fork and clone the repo, then visit the directory in the terminal and type npm install
. After that you can simply run the grunt
command to watch the files in the project. It'll automatically lint, test, compile, and minify the plugin files so you can just code.