Skip to content

Commit

Permalink
fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
songyumeng committed Sep 13, 2017
1 parent 9a3d1d8 commit f977317
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 14 deletions.
2 changes: 0 additions & 2 deletions dist/iclient-classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -1821,7 +1821,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
},

_fetch: function _fetch(url, params, options, type) {
url = encodeURI(url);
options = options || {};
options.headers = options.headers || {};
if (!options.headers['Content-Type']) {
Expand Down Expand Up @@ -1850,7 +1849,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
},

_fetchJsonp: function _fetchJsonp(url, options) {
url = encodeURI(url);
options = options || {};
return (0, _fetchJsonp3.default)(url, { method: 'GET', timeout: options.timeout }).then(function (response) {
return response;
Expand Down
2 changes: 1 addition & 1 deletion dist/iclient-classic.min.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/iclient9-leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -6123,7 +6123,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2["default"].FetchRequest = {
},

_fetch: function _fetch(url, params, options, type) {
url = encodeURI(url);
options = options || {};
options.headers = options.headers || {};
if (!options.headers['Content-Type']) {
Expand Down Expand Up @@ -6152,7 +6151,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2["default"].FetchRequest = {
},

_fetchJsonp: function _fetchJsonp(url, options) {
url = encodeURI(url);
options = options || {};
return (0, _fetchJsonp3["default"])(url, { method: 'GET', timeout: options.timeout }).then(function (response) {
return response;
Expand Down
2 changes: 1 addition & 1 deletion dist/iclient9-leaflet.min.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/iclient9-mapboxgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -9777,7 +9777,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
},

_fetch: function _fetch(url, params, options, type) {
url = encodeURI(url);
options = options || {};
options.headers = options.headers || {};
if (!options.headers['Content-Type']) {
Expand Down Expand Up @@ -9806,7 +9805,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
},

_fetchJsonp: function _fetchJsonp(url, options) {
url = encodeURI(url);
options = options || {};
return (0, _fetchJsonp3.default)(url, { method: 'GET', timeout: options.timeout }).then(function (response) {
return response;
Expand Down
2 changes: 1 addition & 1 deletion dist/iclient9-mapboxgl.min.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/iclient9-openlayers.js
Original file line number Diff line number Diff line change
Expand Up @@ -6359,7 +6359,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
},

_fetch: function _fetch(url, params, options, type) {
url = encodeURI(url);
options = options || {};
options.headers = options.headers || {};
if (!options.headers['Content-Type']) {
Expand Down Expand Up @@ -6388,7 +6387,6 @@ var FetchRequest = exports.FetchRequest = _SuperMap2.default.FetchRequest = {
},

_fetchJsonp: function _fetchJsonp(url, options) {
url = encodeURI(url);
options = options || {};
return (0, _fetchJsonp3.default)(url, { method: 'GET', timeout: options.timeout }).then(function (response) {
return response;
Expand Down
2 changes: 1 addition & 1 deletion dist/iclient9-openlayers.min.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/common/util/FetchRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export var FetchRequest = SuperMap.FetchRequest = {
},

_fetch: function (url, params, options, type) {
url = encodeURI(url);
options = options || {};
options.headers = options.headers || {};
if (!options.headers['Content-Type']) {
Expand Down Expand Up @@ -139,7 +138,6 @@ export var FetchRequest = SuperMap.FetchRequest = {
},

_fetchJsonp: function (url, options) {
url = encodeURI(url);
options = options || {};
return fetchJsonp(url, {method: 'GET', timeout: options.timeout})
.then(function (response) {
Expand Down

0 comments on commit f977317

Please sign in to comment.