File tree 11 files changed +37
-34
lines changed
11 files changed +37
-34
lines changed Original file line number Diff line number Diff line change @@ -618,8 +618,8 @@ the referenced class type</p>
618
618
<div class = ' py1 quiet mt1 prose-big' >Example</div >
619
619
620
620
621
- <pre class = ' p1 overflow-auto round fill-light' ><span class =\\"hljs-keyword\\">var</span> k = <span class =\\"hljs-keyword\\">new</span> Klass();
622
- k.isArrayOfBuffers();</pre>
621
+ <pre class = ' p1 overflow-auto round fill-light' ><span class =\\"hljs-keyword\\">var</span> k = <span class =\\"hljs-keyword\\">new</span> <span class =\\"hljs-title class_\\"> Klass</span> ();
622
+ k.<span class =\\"hljs-title function_\\"> isArrayOfBuffers</span> ();</pre>
623
623
624
624
625
625
@@ -740,7 +740,7 @@ k.isArrayOfBuffers();</pre>
740
740
741
741
<p ><p >this shows you how to getFoo</p >
742
742
</p >
743
- <pre class = ' p1 overflow-auto round fill-light' ><span class =\\"hljs-keyword\\">var</span> x = foo.getFoo();</pre>
743
+ <pre class = ' p1 overflow-auto round fill-light' ><span class =\\"hljs-keyword\\">var</span> x = foo.<span class =\\"hljs-title function_\\"> getFoo</span> ();</pre>
744
744
745
745
746
746
Original file line number Diff line number Diff line change @@ -1586,8 +1586,8 @@ the referenced class type</p>
1586
1586
<div class='py1 quiet mt1 prose-big'>Example</div>
1587
1587
1588
1588
1589
- <pre class='p1 overflow-auto round fill-light'><span class=\\"hljs-keyword\\">var</span> k = <span class=\\"hljs-keyword\\">new</span> Klass();
1590
- k.isArrayOfBuffers();</pre>
1589
+ <pre class='p1 overflow-auto round fill-light'><span class=\\"hljs-keyword\\">var</span> k = <span class=\\"hljs-keyword\\">new</span> <span class=\\"hljs-title class_\\"> Klass</span> ();
1590
+ k.<span class=\\"hljs-title function_\\"> isArrayOfBuffers</span> ();</pre>
1591
1591
1592
1592
1593
1593
@@ -1708,7 +1708,7 @@ k.isArrayOfBuffers();</pre>
1708
1708
1709
1709
<p><p>this shows you how to getFoo</p>
1710
1710
</p>
1711
- <pre class='p1 overflow-auto round fill-light'><span class=\\"hljs-keyword\\">var</span> x = foo.getFoo();</pre>
1711
+ <pre class='p1 overflow-auto round fill-light'><span class=\\"hljs-keyword\\">var</span> x = foo.<span class=\\"hljs-title function_\\"> getFoo</span> ();</pre>
1712
1712
1713
1713
1714
1714
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import parse from '../../src/parsers/javascript.js';
2
2
import removePosition from '../../src/remark-remove-position.js' ;
3
3
import { remark } from 'remark' ;
4
4
const remarkParse = remark ( ) . use ( removePosition ) . parse ;
5
- import visit from 'unist-util-visit' ;
5
+ import { visit } from 'unist-util-visit' ;
6
6
7
7
function pick ( obj , props ) {
8
8
if ( Array . isArray ( props ) ) {
Original file line number Diff line number Diff line change 24
24
"github-slugger" : " 1.4.0" ,
25
25
"glob" : " ^7.1.2" ,
26
26
"globals-docs" : " ^2.4.0" ,
27
- "highlight.js" : " ^10.7.2 " ,
27
+ "highlight.js" : " ^11.3.1 " ,
28
28
"ini" : " ^2.0.0" ,
29
29
"js-yaml" : " ^4.1.0" ,
30
30
"lodash" : " ^4.17.10" ,
44
44
"resolve" : " ^1.8.1" ,
45
45
"stream-array" : " ^1.1.2" ,
46
46
"strip-json-comments" : " ^4.0.0" ,
47
- "unist-builder" : " ^2 .0.3 " ,
48
- "unist-util-visit" : " ^2.0.3 " ,
47
+ "unist-builder" : " ^3 .0.0 " ,
48
+ "unist-util-visit" : " ^4.1.0 " ,
49
49
"vfile" : " ^5.1.1" ,
50
50
"vfile-reporter" : " ^7.0.2" ,
51
51
"vfile-sort" : " ^3.0.0" ,
Original file line number Diff line number Diff line change 1
- import visit from 'unist-util-visit' ;
1
+ import { visit } from 'unist-util-visit' ;
2
2
import hljs from 'highlight.js' ;
3
3
4
4
/**
Original file line number Diff line number Diff line change 1
- import u from 'unist-builder' ;
1
+ import { u } from 'unist-builder' ;
2
2
import { remark } from 'remark' ;
3
3
import mergeConfig from '../merge_config.js' ;
4
4
import toc from 'remark-toc' ;
Original file line number Diff line number Diff line change 1
1
import doctrine from 'doctrine-temporary-fork' ;
2
2
const Syntax = doctrine . Syntax ;
3
- import u from 'unist-builder' ;
3
+ import { u } from 'unist-builder' ;
4
4
5
5
/**
6
6
* Shortcut to create a new text node
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { remark } from 'remark';
2
2
import html from 'remark-html' ;
3
3
import doctrine from 'doctrine-temporary-fork' ;
4
4
const Syntax = doctrine . Syntax ;
5
- import u from 'unist-builder' ;
5
+ import { u } from 'unist-builder' ;
6
6
import _rerouteLinks from './reroute_links.js' ;
7
7
import highlighter from '../highlighter.js' ;
8
8
import formatType from './format_type.js' ;
Original file line number Diff line number Diff line change 1
- import visit from 'unist-util-visit' ;
1
+ import { visit } from 'unist-util-visit' ;
2
2
3
3
/**
4
4
* Reroute inline jsdoc links in documentation
Original file line number Diff line number Diff line change 1
- import visit from 'unist-util-visit' ;
1
+ import { visit } from 'unist-util-visit' ;
2
2
3
3
export default function ( ) {
4
4
const data = this . data ( ) ;
You can’t perform that action at this time.
0 commit comments