switched to snippet view #491

This commit is contained in:
Tony Tam
2014-07-12 20:30:28 -07:00
parent 7945dec86c
commit 855b31d73b
3 changed files with 3 additions and 3 deletions

2
dist/swagger-ui.js vendored
View File

@@ -2139,7 +2139,7 @@ helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
var template; var template;
template = this.template(); template = this.template();
$(this.el).html(template(this.model)); $(this.el).html(template(this.model));
this.switchToDescription(); this.switchToSnippet();
this.isParam = this.model.isParam; this.isParam = this.model.isParam;
if (this.isParam) { if (this.isParam) {
$('.notice', $(this.el)).text('Click to set as parameter value'); $('.notice', $(this.el)).text('Click to set as parameter value');

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,7 @@ class SignatureView extends Backbone.View
template = @template() template = @template()
$(@el).html(template(@model)) $(@el).html(template(@model))
@switchToDescription() @switchToSnippet()
@isParam = @model.isParam @isParam = @model.isParam