From 9b3d8c9afe91e485b50f01ac94f5cbbe5f61ba0f Mon Sep 17 00:00:00 2001 From: Jim Ma Date: Thu, 29 Mar 2018 12:10:52 +0800 Subject: [PATCH 1/3] add SUMMARY.md for gitbook support --- SUMMARY.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 SUMMARY.md diff --git a/SUMMARY.md b/SUMMARY.md new file mode 100644 index 0000000..28dec1c --- /dev/null +++ b/SUMMARY.md @@ -0,0 +1,31 @@ +# Summary + +* [0. 前言](README.md) +* [1. ECMAScript 6简介](docs/intro.md) +* [2. let 和 const 命令](docs/let.md) +* [3. 变量的解构赋值](docs/destructuring.md) +* [4. 字符串的扩展](docs/string.md) +* [5. 正则的扩展](docs/regex.md) +* [6. 数值的扩展](docs/number.md) +* [7. 函数的扩展](docs/function.md) +* [8. 数组的扩展](docs/array.md) +* [9. 对象的扩展](docs/object.md) +* [10. Symbol](docs/symbol.md) +* [11. Set 和 Map 数据结构](docs/set-map.md) +* [12. Proxy](docs/proxy.md) +* [13. Reflect](docs/reflect.md) +* [14. Promise 对象](docs/promise.md) +* [15. Iterator 和 for...of 循环](docs/iterator.md) +* [16. Generator 函数的语法](docs/generator.md) +* [17. Generator 函数的异步应用](docs/generator-async.md) +* [18. async 函数](docs/async.md) +* [19. Class 的基本语法](docs/class.md) +* [20. Class 的继承](docs/class-extends.md) +* [21. Decorator](docs/decorator.md) +* [22. Module 的语法](docs/module.md) +* [23. Module 的加载实现](docs/module-loader.md) +* [24. 编程风格](docs/style.md) +* [25. 读懂规格](docs/spec.md) +* [26. ArrayBuffer](docs/arraybuffer.md) +* [27. 最新提案](docs/proposals.md) +* [28. 参考链接](docs/reference.md) \ No newline at end of file From 02631361e1b664506688f3be5ff7cde590e5c460 Mon Sep 17 00:00:00 2001 From: Jim Ma Date: Thu, 29 Mar 2018 12:22:51 +0800 Subject: [PATCH 2/3] add cover for gitbook --- cover.jpg | 1 + cover_small.jpg | 1 + 2 files changed, 2 insertions(+) create mode 120000 cover.jpg create mode 120000 cover_small.jpg diff --git a/cover.jpg b/cover.jpg new file mode 120000 index 0000000..0fa7635 --- /dev/null +++ b/cover.jpg @@ -0,0 +1 @@ +images/cover-3rd.jpg \ No newline at end of file diff --git a/cover_small.jpg b/cover_small.jpg new file mode 120000 index 0000000..61091a8 --- /dev/null +++ b/cover_small.jpg @@ -0,0 +1 @@ +images/cover_thumbnail_3rd.jpg \ No newline at end of file From f7c8e8800afe8c36d1d0c194cf70f033a2ccb43a Mon Sep 17 00:00:00 2001 From: Jim Ma Date: Thu, 29 Mar 2018 13:09:35 +0800 Subject: [PATCH 3/3] add book.json for gitbook --- book.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 book.json diff --git a/book.json b/book.json new file mode 100644 index 0000000..be5d775 --- /dev/null +++ b/book.json @@ -0,0 +1,36 @@ +{ + "author": "阮一峰", + "description": "《ECMAScript 6 入门》是一本开源的 JavaScript 语言教程,全面介绍 ECMAScript 6 新引入的语法特性。", + "extension": null, + "generator": "site", + "isbn": "9787121324758", + "links": { + "sharing": { + "all": null, + "facebook": null, + "google": null, + "twitter": null, + "weibo": null + }, + "sidebar": { + "阮一峰的个人网站": "http://www.ruanyifeng.com/blog/" + } + }, + "output": null, + "pdf": { + "fontSize": 12, + "footerTemplate": null, + "headerTemplate": null, + "margin": { + "bottom": 36, + "left": 62, + "right": 62, + "top": 36 + }, + "pageNumbers": false, + "paperSize": "a4" + }, + "plugins": [], + "title": "ECMAScript 6 入门", + "variables": {} +} \ No newline at end of file