jsoverson/Backbone.Augment — pull request #1 by derickbailey (2012-10-22 14:25:55+00:00)
Title: Throw errors and exposing augment function

I started playing with this over the weekend and this morning, and I noticed that I ran into several situations where I got errors that I didn't understand. So I added two guard clauses that check to ensure the object used as an augmenter exists, and that it has an augment function. Each of these clauses throws an error if it fails.

This made it easier for me to see where I was going wrong with my experiments.