File tree 2 files changed +27
-19
lines changed
2 files changed +27
-19
lines changed Original file line number Diff line number Diff line change 5
5
"index" : " ./README.md" ,
6
6
"package" : " ./package.json" ,
7
7
"plugins" : [
8
+ {
9
+ "name" : " esdoc-inject-script-plugin" ,
10
+ "option" : {
11
+ "enable" : true ,
12
+ "scripts" : [
13
+ " ./doc/scripts/header.js"
14
+ ]
15
+ }
16
+ },
17
+ {
18
+ "name" : " esdoc-inject-style-plugin" ,
19
+ "option" : {
20
+ "enable" : true ,
21
+ "styles" : [
22
+ " ./doc/css/style.css"
23
+ ]
24
+ }
25
+ },
8
26
{
9
27
"name" : " esdoc-standard-plugin" ,
10
28
"option" : {
11
29
"accessor" : {
12
- "access" : [" public" , " protected" , " private" ],
30
+ "access" : [
31
+ " public" ,
32
+ " protected" ,
33
+ " private"
34
+ ],
13
35
"autoPrivate" : true
14
36
},
15
37
"brand" : {
20
42
"source" : " ./test/src"
21
43
},
22
44
"manual" : {
23
- "files" :[
45
+ "files" : [
24
46
" ./doc/manual/overview.md" ,
25
47
" ./doc/manual/installation.md" ,
26
48
" ./doc/manual/usage.md" ,
27
49
" ./doc/manual/example.md"
28
50
]
29
51
}
30
52
}
31
- },
32
- {
33
- "name" : " esdoc-inject-style-plugin" ,
34
- "option" : {
35
- "enable" : true ,
36
- "styles" : [" ./doc/css/style.css" ]
37
- }
38
- },
39
- {
40
- "name" : " esdoc-inject-script-plugin" ,
41
- "option" : {
42
- "enable" : true ,
43
- "scripts" : [" ./doc/scripts/header.js" ]
44
- }
45
53
}
46
54
]
47
55
}
Original file line number Diff line number Diff line change 1
1
# Usage
2
2
3
3
The code needs a ES2015+ polyfill to work, for example
4
- [ babel- polyfill] ( https://babeljs.io/docs/usage/polyfill ) .
4
+ [ @ babel/ polyfill ] ( https://babeljs.io/docs/usage/polyfill ) .
5
5
``` js
6
- require ( ' babel- polyfill' ) ;
6
+ require ( ' @ babel/ polyfill' ) ;
7
7
// or
8
- import ' babel- polyfill' ;
8
+ import ' @ babel/ polyfill' ;
9
9
```
10
10
11
11
Then
You can’t perform that action at this time.
0 commit comments