updated client, converted newlines to br in description

This commit is contained in:
Tony Tam
2014-09-23 01:26:18 -07:00
parent d838073389
commit 2eabeb667a
7 changed files with 18 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ class MainView extends Backbone.View
@model.apisArray.sort sorter
log @model
if @model.info.license and typeof @model.info.license is 'string'
if @model.info and @model.info.license and typeof @model.info.license is 'string'
name = @model.info.license
url = @model.info.licenseUrl
@model.info.license = {}