-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ ajax-hook是用于拦截浏览器 XMLHttpRequest 对象的轻量库,它可以 | |
|
||
## 更新记录 | ||
|
||
2.1.2版本已发布,2.x和1.x最大的区别是添加了`proxy`方法且同时支持TypeScript,详请见[change list](./change-list.md) 。 | ||
2.1.3已发布,2.x和1.x最大的区别是添加了`proxy`方法且同时支持TypeScript,详请见[change list](./change-list.md) 。 | ||
|
||
## 使用 | ||
|
||
|
@@ -18,7 +18,7 @@ ajax-hook是用于拦截浏览器 XMLHttpRequest 对象的轻量库,它可以 | |
- CDN引入 | ||
|
||
```html | ||
<script src="https://unpkg.com/[email protected].2/dist/ajaxhook.min.js"></script> | ||
<script src="https://unpkg.com/[email protected].3/dist/ajaxhook.min.js"></script> | ||
``` | ||
|
||
引入后会有一个名为"ah"(ajax hook)的全局对象,通过它可以调用ajax-hook的API,如`ah.proxy(hooks)` | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.