Skip to content

Commit c8d2a01

Browse files
authored
Merge pull request #109 from wendux/fix-export
fix: cdn export error
2 parents e1d2b8e + 4dd1406 commit c8d2a01

12 files changed

+2866
-38
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-
226-
* source code: https://github.com/wendux/Ajax-hook
227-
*/
220+
var ah = exports.ah = { hook: _xhrHook.hook }; /*
221+
* author: wendux
222+
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: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,9 +483,7 @@ var _xhrProxy = __webpack_require__(1);
483483

484484
var ah = exports.ah = {
485485
proxy: _xhrProxy.proxy,
486-
unProxy: _xhrProxy.unProxy,
487-
hook: _xhrHook.hook,
488-
unHook: _xhrHook.unHook
486+
hook: _xhrHook.hook
489487
};
490488

491489
/***/ })

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)