remy/min.js — pull request #4 by stephenplusplus (2013-04-17 01:44:51+00:00)
Title: Headless tests, and the internal element is back!

I'm back!

Mostly, I thought it'd be cool to expand on the tests, and steer towards headless testing. `grunt watch` will watch for changes to `/src` and `/test` files, re-build the code, and re-run the tests. I wrote a few more tests, and split them out into a few different files as well.

And, I added that internal element back in, but to be used in a slightly different way. I think having that hidden element is handy, for when you want to trigger and listen for an app-wide event. It could be something like "photoAdded" or "todoRemoved", allowing any part of your code who's interested to listen for that event, and execute whatever code is necessary as a result.

To use it, it's `$.on` and `$.trigger`.

So, let me know how you feel about that. I'm happy to yank it back out if that's not the direction you wanted to go with this.