fixed jshint issues

This commit is contained in:
Laurent Lepinay
2015-04-20 10:32:33 +02:00
parent f3ee0a436c
commit 78c7dda0a9
43 changed files with 5164 additions and 14 deletions

View File

@@ -227,12 +227,12 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
$.extend(true, param.schema, this.model.definitions[param.type]);
param.schema.definitions = this.model.definitions;
// This is required for JsonEditor to display the root properly
param.schema.type = "object";
param.schema.type = 'object';
// This is the title that will be used by JsonEditor for the root
// Since we already display the parameter's name in the Parameter column
// We set this to space, we can't set it to null or space otherwise JsonEditor
// will replace it with the text "root" which won't look good on screen
param.schema.title = " ";
param.schema.title = ' ';
}