fix for submit methods
This commit is contained in:
1
dist/lib/swagger.js
vendored
1
dist/lib/swagger.js
vendored
@@ -130,6 +130,7 @@
|
|||||||
this.swaggerRequstHeaders = options.swaggerRequstHeaders || 'application/json,application/json;charset=utf-8,*/*';
|
this.swaggerRequstHeaders = options.swaggerRequstHeaders || 'application/json,application/json;charset=utf-8,*/*';
|
||||||
this.defaultSuccessCallback = options.defaultSuccessCallback || null;
|
this.defaultSuccessCallback = options.defaultSuccessCallback || null;
|
||||||
this.defaultErrorCallback = options.defaultErrorCallback || null;
|
this.defaultErrorCallback = options.defaultErrorCallback || null;
|
||||||
|
this.supportedSubmitMethods = options.supportedSubmitMethods || [];
|
||||||
|
|
||||||
if (options.success != null)
|
if (options.success != null)
|
||||||
this.success = options.success;
|
this.success = options.success;
|
||||||
|
|||||||
@@ -130,6 +130,7 @@
|
|||||||
this.swaggerRequstHeaders = options.swaggerRequstHeaders || 'application/json,application/json;charset=utf-8,*/*';
|
this.swaggerRequstHeaders = options.swaggerRequstHeaders || 'application/json,application/json;charset=utf-8,*/*';
|
||||||
this.defaultSuccessCallback = options.defaultSuccessCallback || null;
|
this.defaultSuccessCallback = options.defaultSuccessCallback || null;
|
||||||
this.defaultErrorCallback = options.defaultErrorCallback || null;
|
this.defaultErrorCallback = options.defaultErrorCallback || null;
|
||||||
|
this.supportedSubmitMethods = options.supportedSubmitMethods || [];
|
||||||
|
|
||||||
if (options.success != null)
|
if (options.success != null)
|
||||||
this.success = options.success;
|
this.success = options.success;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
"readmeFilename": "README.md",
|
"readmeFilename": "README.md",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"coffee-script": "~1.6.3",
|
"coffee-script": "~1.6.3",
|
||||||
"swagger-client": "2.0.48",
|
"swagger-client": "2.0.49",
|
||||||
"handlebars": "~1.0.10",
|
"handlebars": "~1.0.10",
|
||||||
"less": "~1.4.2"
|
"less": "~1.4.2"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user