Vestorly/torii — pull request #42 by bantic (2014-07-02 22:55:52+00:00)
Title: Simplify grunt build

@mixonic for you. This simplifies the `grunt build` and `grunt build-release` tasks

Now `grunt build` only has output in the tmp/ directory. The tests/index.html used to refer to the built version of torii that was in dist/ but now references the one in tmp/ called tmp/torii.testbuild.js

Removed unused release-it grunt task

Removed the commonjs/node-related tasks as they are not used. I figure that they are cruft that gets in the way of having a clean Gruntfile now, and we can bring those in at a later date when/if we target commonjs (we'll need to consider what to do about torii.popup/window.open when we do). All the node-related grunt tasks were obscuring what was going on.

Fixed the jshint task (it was pointing at the wrong place, so not hinting anything), and fixed some files that were failing jshint.

Fixed the uglify task (it was pointing at the wrong place, so not minifying anything). I am not certain that we want to have dist/*.min.js files. If you don't think so either, I will remove the uglify task altogether.

The build-release task is the only one that writes files to dist/, so there should be no extraneous diffs in the dist/ dir until we intend to make a new release.