rebuilt
This commit is contained in:
@@ -14,6 +14,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
||||
},
|
||||
|
||||
initialize: function(opts) {
|
||||
console.log('OperationView::initialize');
|
||||
opts = opts || {};
|
||||
this.router = opts.router;
|
||||
this.auths = opts.auths;
|
||||
|
||||
@@ -6,6 +6,7 @@ SwaggerUi.Views.ParameterView = Backbone.View.extend({
|
||||
},
|
||||
|
||||
initialize: function(){
|
||||
console.log('ParameterView::initialize');
|
||||
Handlebars.registerHelper('isArray', function(param, opts) {
|
||||
if (param.type.toLowerCase() === 'array' || param.allowMultiple) {
|
||||
return opts.fn(this);
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
SwaggerUi.Views.ResourceView = Backbone.View.extend({
|
||||
initialize: function(opts) {
|
||||
console.log('ResourceView::initialize');
|
||||
opts = opts || {};
|
||||
this.router = opts.router;
|
||||
this.auths = opts.auths;
|
||||
|
||||
@@ -9,7 +9,7 @@ SwaggerUi.Views.SignatureView = Backbone.View.extend({
|
||||
},
|
||||
|
||||
initialize: function () {
|
||||
|
||||
console.log('SignatureView::initialize');
|
||||
},
|
||||
|
||||
render: function(){
|
||||
|
||||
Reference in New Issue
Block a user