removed extend, which made the operation object unreachable

This commit is contained in:
Tony Tam
2017-01-04 17:30:14 -08:00
parent 90021ad100
commit d073c0a908
3 changed files with 6 additions and 6 deletions

6
dist/swagger-ui.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -52,7 +52,7 @@ SwaggerUi.Views.ResourceView = Backbone.View.extend({
// Render an operation and add it to operations li
var operationView = new SwaggerUi.Views.OperationView({
model: $.extend(true,{},operation),
model: operation,
router: this.router,
tagName: 'li',
className: 'endpoint',