This commit is contained in:
Tony Tam
2015-02-12 11:27:25 -08:00
parent 7ff221485b
commit 23daf1afdb
2 changed files with 3 additions and 3 deletions

4
dist/swagger-ui.js vendored
View File

@@ -1971,11 +1971,11 @@ ResourceView = (function(_super) {
ResourceView.prototype.render = function() {
var counter, id, methods, operation, _i, _len, _ref;
$(this.el).html(Handlebars.templates.resource(this.model));
methods = {};
if (this.model.description) {
if (this.model.description != null) {
this.model.summary = this.model.description;
}
$(this.el).html(Handlebars.templates.resource(this.model));
_ref = this.model.operationsArray;
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
operation = _ref[_i];

File diff suppressed because one or more lines are too long