wordnik/swagger-ui — pull request #74 by arjunballa (2012-10-23 18:50:22+00:00)
Title: doneSuccess and doneFailure callback functions and display resources in list and expanded view

- code to pass doneSuccess and doneFailure callback functions. doneSuccess is invoked after successful rendering of swagger-ui and doneFailure is invoke if there is failure in rendering swagger-ui

- code to display resources in default/list/expended style. style can be
passed as a option while creating swagerUi object.
In future I would like to achieve this by passing options to templates
and have a template helper method manipulate dom and apply correct
classes.This approach will improve the performance as we need not go
over the entire dom and call Doc.collapseOperationsForResource or
Doc.expandOperationsForResource on each matched element