Support uncommented files #58

merged 1 commit into from Jun 30, 2012


None yet
2 participants

ForbesLindesay commented Jun 30, 2012

At the moment uncommented files cause the exception:

Type Error: Cannot set property 'code' of undefined

Which is a little confusing if you expect it to just work. This fix instead makes it return a single element with the same structure as any other comment, but with all fields blank except code, which contains the entire code of the file.

tj added a commit that referenced this pull request Jun 30, 2012

@tj tj merged commit 9c81b77 into tj:master Jun 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment