Step One: Watch Writing Testable JavaScript - Rebecca Murphey from Full Frontal 2012 (award for worst conference name ever?)
Step Two: Fork this gist.
Step Three: Consider the four responsibilities that Rebecca lists for client side code (hint: they're color coded).
- Did any of the responsibilities that she lists surprise you?
- Do you feel like you mentally split your client side code in IdeaBox and other past projects into these responsibilities?
Step Four: Totally Optional: take a look at some of the other forks and comment if the spirit moves you.
https://gist.github.com/stevepentler/4a349a857d5cdbd7a2d2bd39d6e373c1