Files
swagger-ui/src/main/javascript/view/Oauth2View.js
2016-03-08 23:05:41 +02:00

19 lines
336 B
JavaScript

'use strict';
SwaggerUi.Views.Oauth2View = Backbone.View.extend({
events: {
'change .oauth-scope': 'scopeChange'
},
template: Handlebars.templates.oauth2,
render: function () {
$(this.el).html(this.template(this.model.toJSON()));
return this;
},
scopeChange: function () {
}
});