Skip to content

Commit cdac39b

Browse files
committed
fix: cdn export error
1 parent e1d2b8e commit cdac39b

12 files changed

+2867
-35
lines changed

dist/ajaxhook.core.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,11 @@ exports.ah = undefined;
217217

218218
var _xhrHook = __webpack_require__(0);
219219

220-
var ah = exports.ah = {
221-
hook: _xhrHook.hook,
222-
unHook: _xhrHook.unHook
223-
}; /*
224-
* author: wendux
225-
* email: 824783146@qq.com
226-
* source code: https://github.com/wendux/Ajax-hook
227-
*/
220+
var ah = exports.ah = { hook: _xhrHook.hook }; /*
221+
* author: wendux
222+
* email: 824783146@qq.com
223+
* source code: https://github.com/wendux/Ajax-hook
224+
*/
228225

229226
/***/ })
230227
/******/ ])));

dist/ajaxhook.core.min.js

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/ajaxhook.core.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/ajaxhook.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,9 +483,9 @@ var _xhrProxy = __webpack_require__(1);
483483

484484
var ah = exports.ah = {
485485
proxy: _xhrProxy.proxy,
486-
unProxy: _xhrProxy.unProxy,
486+
unProxy: unProxy,
487487
hook: _xhrHook.hook,
488-
unHook: _xhrHook.unHook
488+
unHook: unHook
489489
};
490490

491491
/***/ })

dist/ajaxhook.min.js

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/ajaxhook.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/ajaxhook.umd.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -486,12 +486,6 @@ Object.defineProperty(exports, "hook", {
486486
return _xhrHook.hook;
487487
}
488488
});
489-
Object.defineProperty(exports, "unHook", {
490-
enumerable: true,
491-
get: function get() {
492-
return _xhrHook.unHook;
493-
}
494-
});
495489

496490
var _xhrProxy = __webpack_require__(1);
497491

@@ -501,12 +495,6 @@ Object.defineProperty(exports, "proxy", {
501495
return _xhrProxy.proxy;
502496
}
503497
});
504-
Object.defineProperty(exports, "unProxy", {
505-
enumerable: true,
506-
get: function get() {
507-
return _xhrProxy.unProxy;
508-
}
509-
});
510498

511499
/***/ })
512500
/******/ ]);

0 commit comments

Comments
 (0)