removed console.logs
This commit is contained in:
@@ -13,7 +13,6 @@ window.SwaggerUi = Backbone.Router.extend({
|
|||||||
|
|
||||||
// SwaggerUi accepts all the same options as SwaggerApi
|
// SwaggerUi accepts all the same options as SwaggerApi
|
||||||
initialize: function(options) {
|
initialize: function(options) {
|
||||||
console.log('SwaggerUi::initialize');
|
|
||||||
options = options || {};
|
options = options || {};
|
||||||
|
|
||||||
if (options.defaultModelRendering !== 'model') {
|
if (options.defaultModelRendering !== 'model') {
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
initialize: function(opts) {
|
initialize: function(opts) {
|
||||||
console.log('OperationView::initialize');
|
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
this.router = opts.router;
|
this.router = opts.router;
|
||||||
this.auths = opts.auths;
|
this.auths = opts.auths;
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ SwaggerUi.Views.ParameterView = Backbone.View.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
initialize: function(){
|
initialize: function(){
|
||||||
console.log('ParameterView::initialize');
|
|
||||||
Handlebars.registerHelper('isArray', function(param, opts) {
|
Handlebars.registerHelper('isArray', function(param, opts) {
|
||||||
if (param.type.toLowerCase() === 'array' || param.allowMultiple) {
|
if (param.type.toLowerCase() === 'array' || param.allowMultiple) {
|
||||||
return opts.fn(this);
|
return opts.fn(this);
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
SwaggerUi.Views.ResourceView = Backbone.View.extend({
|
SwaggerUi.Views.ResourceView = Backbone.View.extend({
|
||||||
initialize: function(opts) {
|
initialize: function(opts) {
|
||||||
console.log('ResourceView::initialize');
|
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
this.router = opts.router;
|
this.router = opts.router;
|
||||||
this.auths = opts.auths;
|
this.auths = opts.auths;
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ SwaggerUi.Views.SignatureView = Backbone.View.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
initialize: function () {
|
initialize: function () {
|
||||||
console.log('SignatureView::initialize');
|
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function(){
|
render: function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user