Skip to content

Commit

Permalink
update 0814
Browse files Browse the repository at this point in the history
  • Loading branch information
guojinchao committed Aug 14, 2018
1 parent 2ab437f commit 3d9ebb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter5/section5.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ win.postMessage(JSON.stringify({key: 'storage', data: obj}), 'http://bbb.com');
- CORS

### JONP
它的基本思想是,网页通过添加一个<script>元素,向服务器请求JSON数据,这种做法不受同源政策限制;服务器收到请求后,将数据放在一个指定名字的回调函数里传回来。
它的基本思想是,网页通过添加一个`<script>`元素,向服务器请求JSON数据,这种做法不受同源政策限制;服务器收到请求后,将数据放在一个指定名字的回调函数里传回来。

```js
function addScriptTag(src) {
Expand Down

0 comments on commit 3d9ebb5

Please sign in to comment.