Browse Source

switched to snippet view #491

bubble
Tony Tam 10 years ago
parent
commit
855b31d73b
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      dist/swagger-ui.js
  2. +1
    -1
      dist/swagger-ui.min.js
  3. +1
    -1
      src/main/coffeescript/view/SignatureView.coffee

+ 1
- 1
dist/swagger-ui.js View File

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


+ 1
- 1
dist/swagger-ui.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
src/main/coffeescript/view/SignatureView.coffee View File

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

@switchToDescription()
@switchToSnippet()

@isParam = @model.isParam



Loading…
Cancel
Save