switch to doneEach and cache #main dom

This commit is contained in:
Leopoldthecoder 2017-03-07 11:30:09 +08:00
commit 9c54bafae4
8 changed files with 27 additions and 33 deletions

View file

@ -306,3 +306,4 @@ window.$docsify = {
```
Note that if you are running an external script, e.g. an embedded jsfiddle demo, make sure to include the [external-script](plugins?id=external-script) plugin.

View file

@ -304,3 +304,4 @@ window.$docsify = {
```
注意如果执行的是一个外链脚本,比如 jsfiddle 的内嵌 demo请确保引入 [external-script](zh-cn/plugins?id=外链脚本-external-script) 插件。