https://github.com/documentcloud/underscore/blob/master/unde...
I updated the post with a link to underscore's annotated source for debounce and throttle. Thanks for the tip.
Not that it's bad to know how to do it yourself, but I'd make sure my implementation was sound before sharing it as advice.