Merge branch 'master' of github.com:pose/swagger-ui

Conflicts:
	lib/swagger.js
This commit is contained in:
Alberto Pose
2012-11-12 20:29:41 -03:00
230 changed files with 2309 additions and 45240 deletions

View File

@@ -86,7 +86,7 @@ class OperationView extends Backbone.View
complete: (data) =>
@showCompleteStatus(data)
obj.contentType = "application/json" if (obj.type.toLowerCase() == "post" or obj.type.toLowerCase() == "put" or obj.type.toLowerCase() == "patch")
obj.contentType = "application/json" if (obj.type.toLowerCase() == "put" or obj.type.toLowerCase() == "patch")
jQuery.ajax(obj)
false