mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-29 13:52:22 +00:00
add docs/iterator
This commit is contained in:
parent
7fc3348d84
commit
aff04f58d7
@ -123,7 +123,7 @@ body {
|
||||
margin-right: auto;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 0.8rem;
|
||||
padding-left: 0.7rem;
|
||||
line-height: 1.2;
|
||||
|
||||
color: #FFF;
|
||||
@ -136,7 +136,7 @@ body {
|
||||
padding-right: 5px;
|
||||
|
||||
color: #a6e22e;
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
font-weight: normal;
|
||||
font-family: Consolas,"Courier New",Courier,FreeMono,monospace;
|
||||
|
||||
|
@ -118,7 +118,7 @@ function create_page_anchors() {
|
||||
this.id = 'h'+i+'-'+replace_symbols($(this).text());
|
||||
});
|
||||
|
||||
if (i === 2){
|
||||
if ((i === 2) && headers.length !== 0){
|
||||
var ul_tag = $('<ul></ul>')
|
||||
.insertAfter('#content h1')
|
||||
.addClass("content-toc")
|
||||
|
@ -5,7 +5,7 @@
|
||||
授权:<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">署名-非商用许可证</a>
|
||||
|
||||
## 目录
|
||||
- [首页:Readme](#README)
|
||||
- [前言](#README)
|
||||
- [ECMAScript 6简介](#docs/intro)
|
||||
- [Iterator:遍历器](#docs/iterator)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user