wordnik/swagger.js — pull request #7 by lloydmeta (2012-11-14 22:56:18+00:00)
Title: Small fix to swagger.js so that .toLowerCase on responseClass is only ca...

...lled if responeClass is not nil. There was already a check, but came after the function call.

This allows swagger.js to work properly even if responseClass is not specified in operations.

Original pull req: https://github.com/wordnik/swagger-ui/pull/81