fixed petstore link

This commit is contained in:
Tony Tam
2013-08-14 10:53:31 -07:00
parent 6865ab5287
commit 25805a4bc0
3 changed files with 3 additions and 3 deletions

2
dist/swagger-ui.js vendored
View File

@@ -1303,7 +1303,7 @@ helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
HeaderView.prototype.showPetStore = function(e) { HeaderView.prototype.showPetStore = function(e) {
return this.trigger('update-swagger-ui', { return this.trigger('update-swagger-ui', {
url: "http://petstore.swagger.wordnik.com/api/api-docs.json" url: "http://petstore.swagger.wordnik.com/api/api-docs"
}); });
}; };

File diff suppressed because one or more lines are too long

View File

@@ -12,7 +12,7 @@ class HeaderView extends Backbone.View
showPetStore: (e) -> showPetStore: (e) ->
@trigger( @trigger(
'update-swagger-ui' 'update-swagger-ui'
{url:"http://petstore.swagger.wordnik.com/api/api-docs.json"} {url:"http://petstore.swagger.wordnik.com/api/api-docs"}
) )
showWordnikDev: (e) -> showWordnikDev: (e) ->