1
0
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:
ruanyf 2014-04-23 03:53:55 +08:00
parent 7fc3348d84
commit aff04f58d7
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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")

View File

@ -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)