added api info

This commit is contained in:
Tony Tam
2013-07-11 00:26:05 -07:00
parent 187d245047
commit e980cca6b4
10 changed files with 189 additions and 10 deletions

View File

@@ -50,6 +50,8 @@ class SwaggerUi extends Backbone.Router
# so it gets called when SwaggerApi completes loading
render:() ->
@showMessage('Finished Loading Resource Information. Rendering Swagger UI...')
console.log "here it comes!"
console.log @api
@mainView = new MainView({model: @api, el: $('#' + @dom_id)}).render()
@showMessage()
switch @options.docExpansion