Skip to content

Commit 56bd67d

Browse files
committed
1 parent dac54ca commit 56bd67d

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

dist/mock-min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mock.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8288,6 +8288,8 @@ return /******/ (function(modules) { // webpackBootstrap
82888288

82898289
that.status = 200
82908290
that.statusText = HTTP_STATUS_CODES[200]
8291+
8292+
// fix #92 #93 by @qddegtya
82918293
that.response = that.responseText = JSON.stringify(
82928294
convert(that.custom.template, that.custom.options),
82938295
null, 4

src/mock/xhr/xhr.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@ Util.extend(MockXMLHttpRequest.prototype, {
280280

281281
that.status = 200
282282
that.statusText = HTTP_STATUS_CODES[200]
283+
284+
// fix #92 #93 by @qddegtya
283285
that.response = that.responseText = JSON.stringify(
284286
convert(that.custom.template, that.custom.options),
285287
null, 4

0 commit comments

Comments
 (0)