Skip to content

Commit

Permalink
Creates 10/kua-yu-fang-fa/xdomainrequest.md
Browse files Browse the repository at this point in the history
Auto commit by GitBook Editor
  • Loading branch information
TYRMars committed Apr 13, 2018
1 parent 3ead246 commit 045a96e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions 08/ji-ben-pai-xu-suan-fa/cha-ru-pai-xu.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
* 插入排序
* 插入排序有两个循环,外循环将数组元素挨个移动,而内循环则对外循环中选中的元素及它后面的那个元素进行比较。如果外循环中选中的元素比内循环中选中的元素小,那么数组会向右移动,为内循环中的这个元素腾出位置。



![](http://www.2cto.com/uploadfile/Collfiles/20160918/20160918092144589.gif)



```
```js
function insertionSort() {
var temp,inner;
for (var outer = 1; outer <= this.dataStore.length - 1 ; ++outer) {
Expand Down
Empty file added 10/kua-yu-fang-fa/cors.md
Empty file.
Empty file.
4 changes: 2 additions & 2 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
* [跨域方法](10/kua-yu-fang-fa.md)
* [Hash](10/kua-yu-fang-fa/hash.md)
* [JSONP](10/kua-yu-fang-fa/jsonp.md)
* CORS
* XDomainRequest
* [CORS](10/kua-yu-fang-fa/cors.md)
* [XDomainRequest](10/kua-yu-fang-fa/xdomainrequest.md)
* [11-JavaScrpit-模块化](11/README.md)
* [AMD](11/amd.md)
* [CommonJS](11/cmd.md)
Expand Down

0 comments on commit 045a96e

Please sign in to comment.