Skip to content
An online calculator for EFP discounts in Brewdog bars
HTML JavaScript CSS Shell
Branch: gh-pages
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
fonts
images
js
video
.gitignore
CNAME
Gruntfile.js
LICENSE
README.md
bookmarklet.htm
index.html
package-lock.json
package.json
publish.sh

README.md

EFP Discount Calculator

An online calculator for discounts in Brewdog bars for EFP's.

Development

Pre-requisites: npm. Once you have npm installed, run:

$ npm install

And:

$ npm install -g grunt-cli

This will install Grunt, a task runner currently used to minify the JS code. Gruntfile is configured to run uglify on js/calculator.js to app.js which is linked in the index.html file. So if you change the source file (js/calculator.js), you need to run grunt in the command line for js/app.js to be rewritten and the page updated.

Dependencies

You can’t perform that action at this time.