remove dead code: show-wordnik-dev
This commit is contained in:
7
dist/swagger-ui.js
vendored
7
dist/swagger-ui.js
vendored
@@ -20661,7 +20661,6 @@ SwaggerUi.Views.ContentTypeView = Backbone.View.extend({
|
||||
SwaggerUi.Views.HeaderView = Backbone.View.extend({
|
||||
events: {
|
||||
'click #show-pet-store-icon' : 'showPetStore',
|
||||
'click #show-wordnik-dev-icon' : 'showWordnikDev',
|
||||
'click #explore' : 'showCustom',
|
||||
'keyup #input_baseUrl' : 'showCustomOnKeyup',
|
||||
'keyup #input_apiKey' : 'showCustomOnKeyup'
|
||||
@@ -20675,12 +20674,6 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
|
||||
});
|
||||
},
|
||||
|
||||
showWordnikDev: function(){
|
||||
this.trigger('update-swagger-ui', {
|
||||
url: 'http://api.wordnik.com/v4/resources.json'
|
||||
});
|
||||
},
|
||||
|
||||
showCustomOnKeyup: function(e){
|
||||
if (e.keyCode === 13) {
|
||||
this.showCustom();
|
||||
|
||||
Reference in New Issue
Block a user