philschatz/octokit.js — pull request #45 by plukevdh (2014-05-15 19:16:40+00:00)
Title: Add allow resources to retrieve comments

Implemented a Commentable resource that will allow any resource that has a `/comment` api endpoint to be retrieved.

Simple as adding `_.extend(@, Commentable(_gistPath))` to a resource's constructor.

Currently only applied to the Gist resource. Requesting advice on where else to add.