Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
dist/
build/
package-lock.json
npm-debug.log
npm-debug.log
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 在线访问

[http://teadocs.cn/docs/javascript](http://teadocs.cn/docs/javascript)

# 文档构建

本文档是由Teadocs构建工具构建:
[https://github.com/teadocs/teadocs](https://github.com/teadocs/teadocs)

# 阮一峰的前言

本教程全面介绍 JavaScript 核心语法,从最简单的开始讲起,循序渐进、由浅入深,力求清晰易懂。所有章节都带有大量的代码实例,便于理解和模仿,可以用到实际项目中,即学即用。

本教程适合初学者当作 JavaScript 语言的入门教程,也适合当作日常使用的参考手册。
本教程适合初学者当作 JavaScript 语言的入门教程,也适合当作日常使用的参考手册。
92 changes: 0 additions & 92 deletions chapters.yml

This file was deleted.

16 changes: 0 additions & 16 deletions deploy.sh

This file was deleted.

2 changes: 1 addition & 1 deletion docs/elements/a.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <a> 元素
# a 元素

`<a>`元素用来设置链接。除了网页元素的通用接口(`Node`接口、`Element`接口、`HTMLElement`接口),它还继承了`HTMLAnchorElement`接口和`HTMLHyperlinkElementUtils`接口。

Expand Down
2 changes: 1 addition & 1 deletion docs/elements/button.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <button> 元素
# button 元素

`<button>`元素继承了`HTMLButtonElement`接口。它有以下的实例属性。

Expand Down
2 changes: 1 addition & 1 deletion docs/elements/form.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <form> 元素
# form 元素

`<form>`元素代表了表单,继承了 HTMLFormElement 接口。

Expand Down
2 changes: 1 addition & 1 deletion docs/elements/image.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img> 元素
# img 元素

## 概述

Expand Down
2 changes: 1 addition & 1 deletion docs/elements/input.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <input> 元素
# input 元素

`<input>`元素主要用于表单组件,它继承了 HTMLInputElement 接口。

Expand Down
2 changes: 1 addition & 1 deletion docs/elements/option.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <option> 元素
# option 元素

`<option>`元素表示下拉框(`<select>`,`<optgroup>`或`<datalist>`)里面的一个选项。它是 HTMLOptionElement 接口的实例。

Expand Down
2 changes: 1 addition & 1 deletion docs/elements/video.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <video>,<audio>
# videoaudio

## 概述

Expand Down
15 changes: 15 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 关于此教程

你现在看到的是阮一峰老师的JavaScript教程。

本教程的作者是阮一峰老师,采用[知识共享 署名-相同方式共享 3.0协议](https://creativecommons.org/licenses/by-sa/3.0/deed.zh)。

本文档只是将其制作成了 [Teadocs](https://github.com/teadocs/teadocs) 的版本。

# 文档源

[https://github.com/teadocs/javascript-tutorial](https://github.com/teadocs/javascript-tutorial)

# 本文档构建说明

请访问 [Teadocs](https://github.com/teadocs/teadocs) 的github地址以查找更多帮助。
9 changes: 0 additions & 9 deletions loppo.yml

This file was deleted.

38 changes: 0 additions & 38 deletions package.json

This file was deleted.

24 changes: 24 additions & 0 deletions teadocs.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
'use strict';
const path = require('path')

module.exports = {
doc: {
name: "阮一峰的JavaScript教程",
description: "阮一峰的JavaScript教程",
version: "v0.0.1",
dir: "",
outDir: "../docs/javascript",
staticDir: ""
},
theme: {
dir: "",
title: "",
headHtml: "",
footHtml: "",
isMinify: true,
rootPath: "/docs/javascript/"
},
nav: {
tree: "./tree"
}
}
94 changes: 94 additions & 0 deletions tree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
- [关于](/index)
- [阮一峰前言](/preface)
- +教程
- 入门篇
- [导论](/basic/introduction)
- [历史](/basic/history)
- [基本语法](/basic/grammar)
- 数据类型
- [概述](/types/general)
- [null,undefined和布尔值](/types/null-undefined-boolean)
- [数值](/types/number)
- [字符串](/types/string)
- [对象](/types/object)
- [函数](/types/function)
- [数组](/types/array)
- 运算符
- [算术运算符](/operators/arithmetic)
- [比较运算符](/operators/comparison)
- [布尔运算符](/operators/boolean)
- [二进制位运算符](/operators/bit)
- [其他运算符,运算顺序](/operators/priority)
- 语法专题
- [数据类型的转换](/features/conversion)
- [错误处理机制](/features/error)
- [编程风格](/features/style)
- [console 对象与控制台](/features/console)
- 标准库
- [Object对象](/stdlib/object)
- [属性描述对象](/stdlib/attributes)
- [Array 对象](/stdlib/array)
- [包装对象](/stdlib/wrapper)
- [Boolean 对象](/stdlib/boolean)
- [Number 对象](/stdlib/number)
- [String 对象](/stdlib/string)
- [Math 对象](/stdlib/math)
- [Date 对象](/stdlib/date)
- [RegExp 对象](/stdlib/regexp)
- [JSON 对象](/stdlib/json)
- 面向对象编程
- [实例对象与 new 命令](/oop/new)
- [this 关键字](/oop/this)
- [对象的继承](/oop/prototype)
- [Object 对象的相关方法](/oop/object)
- [Object 对象的相关方法](/oop/strict)
- 异步操作
- [概述](/async/general)
- [定时器](/async/timer)
- [Promise 对象](/async/promise)
- DOM
- [概述](/dom/general)
- [Node 接口](/dom/node)
- [NodeList 接口,HTMLCollection 接口](/dom/nodelist)
- [ParentNode 接口,ChildNode 接口](/dom/parentnode)
- [Document 节点](/dom/document)
- [Element 节点](/dom/element)
- [属性的操作](/dom/attributes)
- [Text 节点和 DocumentFragment 节点](/dom/text)
- [Mutation Observer API](/dom/mutationobserver)
- 事件
- [EventTarget 接口](/events/eventtarget)
- [事件模型](/events/model)
- [Event 对象](/events/event)
- [鼠标事件](/events/mouse)
- [键盘事件](/events/keyboard)
- [进度事件](/events/progress)
- [表单事件](/events/form)
- [触摸事件](/events/touch)
- [拖拉事件](/events/drag)
- [其他常见事件](/events/common)
- [拖拉事件](/events/globaleventhandlers)
- 浏览器模型
- [浏览器环境概述](/bom/engine)
- [window 对象](/bom/window)
- [Navigator 对象,Screen 对象](/bom/navigator)
- [cookie](/bom/cookie)
- [XMLHttpRequest 对象](/bom/xmlhttprequest)
- [同源限制](/bom/same-origin)
- [CORS 通信](/bom/cors)
- [Storage 接口](/bom/storage)
- [History 对象](/bom/history)
- [Location 对象,URL 对象,URLSearchParams 对象](/bom/location)
- [ArrayBuffer 对象,Blob 对象](/bom/arraybuffer)
- [File 对象,FileList 对象,FileReader 对象](/bom/file)
- [表单,FormData 对象](/bom/form)
- [IndexedDB API](/bom/indexeddb)
- [Web Worker](/bom/webworker)
- 附录:网页元素接口
- [a 元素](/elements/a)
- [img 元素](/elements/image)
- [form 元素](/elements/form)
- [input 元素](/elements/input)
- [button 元素](/elements/button)
- [option 元素](/elements/option)
- [video,audio](/elements/video)
Binary file removed wangdoc-deploy-rsa.enc
Binary file not shown.