fixed rendering to support latest client for #932
This commit is contained in:
@@ -5,12 +5,13 @@ class ResourceView extends Backbone.View
|
|||||||
@model.description = null
|
@model.description = null
|
||||||
|
|
||||||
render: ->
|
render: ->
|
||||||
$(@el).html(Handlebars.templates.resource(@model))
|
|
||||||
|
|
||||||
methods = {}
|
methods = {}
|
||||||
|
|
||||||
if @model.description
|
if @model.description?
|
||||||
@model.summary = @model.description
|
@model.summary = @model.description
|
||||||
|
|
||||||
|
$(@el).html(Handlebars.templates.resource(@model))
|
||||||
|
|
||||||
# Render each operation
|
# Render each operation
|
||||||
for operation in @model.operationsArray
|
for operation in @model.operationsArray
|
||||||
counter = 0
|
counter = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user