clean-jsdoc-theme 4.1.7 → 4.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/.eslintignore +5 -5
  2. package/.eslintrc.js +3 -3
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +43 -43
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +27 -27
  5. package/.github/dependabot.yml +9 -9
  6. package/.github/pull_request_template.md +16 -16
  7. package/.github/workflows/codeql.yml +72 -72
  8. package/.github/workflows/greetings.yml +16 -16
  9. package/.prettierignore +1 -2
  10. package/.prettierrc +5 -5
  11. package/.stylelintignore +4 -4
  12. package/.stylelintrc +18 -23
  13. package/.travis.yml +30 -30
  14. package/CHANGELOG.md +256 -235
  15. package/CODE_OF_CONDUCT.md +76 -76
  16. package/CODE_OF_CONDUCT_HINDI.md +61 -46
  17. package/CONTRIBUTING.md +36 -24
  18. package/LICENSE +21 -21
  19. package/README.md +497 -456
  20. package/SECURITY.md +21 -21
  21. package/css.js +124 -0
  22. package/helpers/down-arrow.js +9 -9
  23. package/jsdoc-config.json +62 -61
  24. package/minify.js +60 -56
  25. package/package.json +52 -50
  26. package/publish.js +1130 -1129
  27. package/static/scripts/core.js +662 -656
  28. package/static/scripts/core.min.js +2 -2
  29. package/static/scripts/resize.js +90 -90
  30. package/static/scripts/search.js +262 -262
  31. package/static/scripts/third-party/Apache-License-2.0.txt +202 -202
  32. package/static/scripts/third-party/fuse.js +8 -8
  33. package/static/scripts/third-party/hljs-line-num-original.js +369 -365
  34. package/static/scripts/third-party/hljs-line-num.js +1 -1
  35. package/static/scripts/third-party/hljs-original.js +5162 -5162
  36. package/static/scripts/third-party/popper.js +5 -5
  37. package/static/scripts/third-party/tippy.js +1 -1
  38. package/static/scripts/third-party/tocbot.js +672 -1
  39. package/static/scripts/third-party/tocbot.min.js +1 -0
  40. package/static/styles/clean-jsdoc-theme-base.css +968 -968
  41. package/static/styles/clean-jsdoc-theme-dark.css +407 -407
  42. package/static/styles/clean-jsdoc-theme-light.css +388 -388
  43. package/tmpl/augments.tmpl +10 -10
  44. package/tmpl/container.tmpl +190 -190
  45. package/tmpl/details.tmpl +207 -207
  46. package/tmpl/example.tmpl +3 -3
  47. package/tmpl/examples.tmpl +40 -40
  48. package/tmpl/exceptions.tmpl +32 -32
  49. package/tmpl/icons.tmpl +72 -72
  50. package/tmpl/layout.tmpl +157 -157
  51. package/tmpl/mainpage.tmpl +10 -10
  52. package/tmpl/members.tmpl +42 -42
  53. package/tmpl/method.tmpl +139 -139
  54. package/tmpl/mobile-sidebar.tmpl +20 -20
  55. package/tmpl/navbar-actions.tmpl +18 -18
  56. package/tmpl/navbar-menu.tmpl +24 -24
  57. package/tmpl/navbar.tmpl +13 -13
  58. package/tmpl/params.tmpl +124 -124
  59. package/tmpl/properties.tmpl +109 -109
  60. package/tmpl/returns.tmpl +18 -18
  61. package/tmpl/search.tmpl +16 -16
  62. package/tmpl/sidebar-items.tmpl +23 -23
  63. package/tmpl/sidebar-title.tmpl +9 -9
  64. package/tmpl/sidebar.tmpl +8 -8
  65. package/tmpl/source.tmpl +12 -12
  66. package/tmpl/toc.tmpl +3 -3
  67. package/tmpl/tutorial.tmpl +19 -19
  68. package/tmpl/type.tmpl +12 -7
package/tmpl/params.tmpl CHANGED
@@ -1,124 +1,124 @@
1
- <?js
2
- var params = obj;
3
-
4
- /* sort subparams under their parent params (like opts.classname) */
5
- var parentParam = null;
6
- params.forEach(function(param, i) {
7
- var paramRegExp;
8
-
9
- if (!param) {
10
- return;
11
- }
12
-
13
- if (parentParam && parentParam.name && param.name) {
14
- paramRegExp = new RegExp('^(?:' + parentParam.name + '(?:\\[\\])*)\\.(.+)$');
15
-
16
- if ( paramRegExp.test(param.name) ) {
17
- param.name = RegExp.$1;
18
- parentParam.subparams = parentParam.subparams || [];
19
- parentParam.subparams.push(param);
20
- params[i] = null;
21
- }
22
- else {
23
- parentParam = param;
24
- }
25
- }
26
- else {
27
- parentParam = param;
28
- }
29
- });
30
-
31
- /* determine if we need extra columns, "attributes" and "default" */
32
- params.hasAttributes = false;
33
- params.hasDefault = false;
34
- params.hasName = false;
35
-
36
- params.forEach(function(param) {
37
- if (!param) { return; }
38
-
39
- if (param.optional || param.nullable || param.variable) {
40
- params.hasAttributes = true;
41
- }
42
-
43
- if (param.name) {
44
- params.hasName = true;
45
- }
46
-
47
- if (typeof param.defaultvalue !== 'undefined') {
48
- params.hasDefault = true;
49
- }
50
- });
51
- ?>
52
-
53
- <table class="params">
54
- <thead>
55
- <tr>
56
- <?js if (params.hasName) {?>
57
- <th>Name</th>
58
- <?js } ?>
59
-
60
- <th>Type</th>
61
-
62
- <?js if (params.hasAttributes) {?>
63
- <th>Attributes</th>
64
- <?js } ?>
65
-
66
- <?js if (params.hasDefault) {?>
67
- <th>Default</th>
68
- <?js } ?>
69
-
70
- <th class="last">Description</th>
71
- </tr>
72
- </thead>
73
-
74
- <tbody>
75
- <?js
76
- var self = this;
77
- params.forEach(function(param) {
78
- if (!param) { return; }
79
- ?>
80
-
81
- <tr>
82
- <?js if (params.hasName) {?>
83
- <td class="name"><code><?js= param.name ?></code></td>
84
- <?js } ?>
85
-
86
- <td class="type">
87
- <?js if (param.type && param.type.names) {?>
88
- <?js= self.partial('type.tmpl', param.type.names) ?>
89
- <?js } ?>
90
- </td>
91
-
92
- <?js if (params.hasAttributes) {?>
93
- <td class="attributes">
94
- <?js if (param.optional) { ?>
95
- &lt;optional><br>
96
- <?js } ?>
97
-
98
- <?js if (param.nullable) { ?>
99
- &lt;nullable><br>
100
- <?js } ?>
101
-
102
- <?js if (param.variable) { ?>
103
- &lt;repeatable><br>
104
- <?js } ?>
105
- </td>
106
- <?js } ?>
107
-
108
- <?js if (params.hasDefault) {?>
109
- <td class="default">
110
- <?js if (typeof param.defaultvalue !== 'undefined') { ?>
111
- <?js= self.htmlsafe(param.defaultvalue) ?>
112
- <?js } ?>
113
- </td>
114
- <?js } ?>
115
-
116
- <td class="description last"><?js= param.description ?><?js if (param.subparams) { ?>
117
- <h6>Properties</h6>
118
- <?js= self.partial('params.tmpl', param.subparams) ?>
119
- <?js } ?></td>
120
- </tr>
121
-
122
- <?js }); ?>
123
- </tbody>
124
- </table>
1
+ <?js
2
+ var params = obj;
3
+
4
+ /* sort subparams under their parent params (like opts.classname) */
5
+ var parentParam = null;
6
+ params.forEach(function(param, i) {
7
+ var paramRegExp;
8
+
9
+ if (!param) {
10
+ return;
11
+ }
12
+
13
+ if (parentParam && parentParam.name && param.name) {
14
+ paramRegExp = new RegExp('^(?:' + parentParam.name + '(?:\\[\\])*)\\.(.+)$');
15
+
16
+ if ( paramRegExp.test(param.name) ) {
17
+ param.name = RegExp.$1;
18
+ parentParam.subparams = parentParam.subparams || [];
19
+ parentParam.subparams.push(param);
20
+ params[i] = null;
21
+ }
22
+ else {
23
+ parentParam = param;
24
+ }
25
+ }
26
+ else {
27
+ parentParam = param;
28
+ }
29
+ });
30
+
31
+ /* determine if we need extra columns, "attributes" and "default" */
32
+ params.hasAttributes = false;
33
+ params.hasDefault = false;
34
+ params.hasName = false;
35
+
36
+ params.forEach(function(param) {
37
+ if (!param) { return; }
38
+
39
+ if (param.optional || param.nullable || param.variable) {
40
+ params.hasAttributes = true;
41
+ }
42
+
43
+ if (param.name) {
44
+ params.hasName = true;
45
+ }
46
+
47
+ if (typeof param.defaultvalue !== 'undefined') {
48
+ params.hasDefault = true;
49
+ }
50
+ });
51
+ ?>
52
+
53
+ <table class="params">
54
+ <thead>
55
+ <tr>
56
+ <?js if (params.hasName) {?>
57
+ <th>Name</th>
58
+ <?js } ?>
59
+
60
+ <th>Type</th>
61
+
62
+ <?js if (params.hasAttributes) {?>
63
+ <th>Attributes</th>
64
+ <?js } ?>
65
+
66
+ <?js if (params.hasDefault) {?>
67
+ <th>Default</th>
68
+ <?js } ?>
69
+
70
+ <th class="last">Description</th>
71
+ </tr>
72
+ </thead>
73
+
74
+ <tbody>
75
+ <?js
76
+ var self = this;
77
+ params.forEach(function(param) {
78
+ if (!param) { return; }
79
+ ?>
80
+
81
+ <tr>
82
+ <?js if (params.hasName) {?>
83
+ <td class="name"><code><?js= param.name ?></code></td>
84
+ <?js } ?>
85
+
86
+ <td class="type">
87
+ <?js if (param.type && param.type.names) {?>
88
+ <?js= self.partial('type.tmpl', param.type.names) ?>
89
+ <?js } ?>
90
+ </td>
91
+
92
+ <?js if (params.hasAttributes) {?>
93
+ <td class="attributes">
94
+ <?js if (param.optional) { ?>
95
+ &lt;optional><br>
96
+ <?js } ?>
97
+
98
+ <?js if (param.nullable) { ?>
99
+ &lt;nullable><br>
100
+ <?js } ?>
101
+
102
+ <?js if (param.variable) { ?>
103
+ &lt;repeatable><br>
104
+ <?js } ?>
105
+ </td>
106
+ <?js } ?>
107
+
108
+ <?js if (params.hasDefault) {?>
109
+ <td class="default">
110
+ <?js if (typeof param.defaultvalue !== 'undefined') { ?>
111
+ <?js= self.htmlsafe(param.defaultvalue) ?>
112
+ <?js } ?>
113
+ </td>
114
+ <?js } ?>
115
+
116
+ <td class="description last"><?js= param.description ?><?js if (param.subparams) { ?>
117
+ <h6>Properties</h6>
118
+ <?js= self.partial('params.tmpl', param.subparams) ?>
119
+ <?js } ?></td>
120
+ </tr>
121
+
122
+ <?js }); ?>
123
+ </tbody>
124
+ </table>
@@ -1,109 +1,109 @@
1
- <?js
2
- var data = obj;
3
- var props = data.subprops || data.properties;
4
-
5
- /* sort subprops under their parent props (like opts.classname) */
6
- var parentProp = null;
7
- props.forEach(function(prop, i) {
8
- if (!prop) { return; }
9
- if ( parentProp && prop.name && prop.name.indexOf(parentProp.name + '.') === 0 ) {
10
- prop.name = prop.name.substr(parentProp.name.length+1);
11
- parentProp.subprops = parentProp.subprops || [];
12
- parentProp.subprops.push(prop);
13
- props[i] = null;
14
- }
15
- else {
16
- parentProp = prop;
17
- }
18
- });
19
-
20
- /* determine if we need extra columns, "attributes" and "default" */
21
- props.hasAttributes = false;
22
- props.hasDefault = false;
23
- props.hasName = false;
24
-
25
- props.forEach(function(prop) {
26
- if (!prop) { return; }
27
-
28
- if (prop.optional || prop.nullable) {
29
- props.hasAttributes = true;
30
- }
31
-
32
- if (prop.name) {
33
- props.hasName = true;
34
- }
35
-
36
- if (typeof prop.defaultvalue !== 'undefined' && !data.isEnum) {
37
- props.hasDefault = true;
38
- }
39
- });
40
- ?>
41
- <div class="allow-overflow">
42
- <table class="props">
43
- <thead>
44
- <tr>
45
- <?js if (props.hasName) {?>
46
- <th>Name</th>
47
- <?js } ?>
48
-
49
- <th>Type</th>
50
-
51
- <?js if (props.hasAttributes) {?>
52
- <th>Attributes</th>
53
- <?js } ?>
54
-
55
- <?js if (props.hasDefault) {?>
56
- <th>Default</th>
57
- <?js } ?>
58
-
59
- <th class="last">Description</th>
60
- </tr>
61
- </thead>
62
-
63
- <tbody>
64
- <?js
65
- var self = this;
66
- props.forEach(function(prop) {
67
- if (!prop) { return; }
68
- ?>
69
-
70
- <tr>
71
- <?js if (props.hasName) {?>
72
- <td class="name"><code><?js= prop.name ?></code></td>
73
- <?js } ?>
74
-
75
- <td class="type">
76
- <?js if (prop.type && prop.type.names) {?>
77
- <?js= self.partial('type.tmpl', prop.type.names) ?>
78
- <?js } ?>
79
- </td>
80
-
81
- <?js if (props.hasAttributes) {?>
82
- <td class="attributes">
83
- <?js if (prop.optional) { ?>
84
- &lt;optional><br>
85
- <?js } ?>
86
-
87
- <?js if (prop.nullable) { ?>
88
- &lt;nullable><br>
89
- <?js } ?>
90
- </td>
91
- <?js } ?>
92
-
93
- <?js if (props.hasDefault) {?>
94
- <td class="default">
95
- <?js if (typeof prop.defaultvalue !== 'undefined') { ?>
96
- <?js= self.htmlsafe(prop.defaultvalue) ?>
97
- <?js } ?>
98
- </td>
99
- <?js } ?>
100
-
101
- <td class="description last"><?js= prop.description ?><?js if (prop.subprops) { ?>
102
- <h6>Properties</h6><?js= self.partial('properties.tmpl', prop) ?>
103
- <?js } ?></td>
104
- </tr>
105
-
106
- <?js }); ?>
107
- </tbody>
108
- </table>
109
- </div>
1
+ <?js
2
+ var data = obj;
3
+ var props = data.subprops || data.properties;
4
+
5
+ /* sort subprops under their parent props (like opts.classname) */
6
+ var parentProp = null;
7
+ props.forEach(function(prop, i) {
8
+ if (!prop) { return; }
9
+ if ( parentProp && prop.name && prop.name.indexOf(parentProp.name + '.') === 0 ) {
10
+ prop.name = prop.name.substr(parentProp.name.length+1);
11
+ parentProp.subprops = parentProp.subprops || [];
12
+ parentProp.subprops.push(prop);
13
+ props[i] = null;
14
+ }
15
+ else {
16
+ parentProp = prop;
17
+ }
18
+ });
19
+
20
+ /* determine if we need extra columns, "attributes" and "default" */
21
+ props.hasAttributes = false;
22
+ props.hasDefault = false;
23
+ props.hasName = false;
24
+
25
+ props.forEach(function(prop) {
26
+ if (!prop) { return; }
27
+
28
+ if (prop.optional || prop.nullable) {
29
+ props.hasAttributes = true;
30
+ }
31
+
32
+ if (prop.name) {
33
+ props.hasName = true;
34
+ }
35
+
36
+ if (typeof prop.defaultvalue !== 'undefined' && !data.isEnum) {
37
+ props.hasDefault = true;
38
+ }
39
+ });
40
+ ?>
41
+ <div class="allow-overflow">
42
+ <table class="props">
43
+ <thead>
44
+ <tr>
45
+ <?js if (props.hasName) {?>
46
+ <th>Name</th>
47
+ <?js } ?>
48
+
49
+ <th>Type</th>
50
+
51
+ <?js if (props.hasAttributes) {?>
52
+ <th>Attributes</th>
53
+ <?js } ?>
54
+
55
+ <?js if (props.hasDefault) {?>
56
+ <th>Default</th>
57
+ <?js } ?>
58
+
59
+ <th class="last">Description</th>
60
+ </tr>
61
+ </thead>
62
+
63
+ <tbody>
64
+ <?js
65
+ var self = this;
66
+ props.forEach(function(prop) {
67
+ if (!prop) { return; }
68
+ ?>
69
+
70
+ <tr>
71
+ <?js if (props.hasName) {?>
72
+ <td class="name"><code><?js= prop.name ?></code></td>
73
+ <?js } ?>
74
+
75
+ <td class="type">
76
+ <?js if (prop.type && prop.type.names) {?>
77
+ <?js= self.partial('type.tmpl', prop.type.names) ?>
78
+ <?js } ?>
79
+ </td>
80
+
81
+ <?js if (props.hasAttributes) {?>
82
+ <td class="attributes">
83
+ <?js if (prop.optional) { ?>
84
+ &lt;optional><br>
85
+ <?js } ?>
86
+
87
+ <?js if (prop.nullable) { ?>
88
+ &lt;nullable><br>
89
+ <?js } ?>
90
+ </td>
91
+ <?js } ?>
92
+
93
+ <?js if (props.hasDefault) {?>
94
+ <td class="default">
95
+ <?js if (typeof prop.defaultvalue !== 'undefined') { ?>
96
+ <?js= self.htmlsafe(prop.defaultvalue) ?>
97
+ <?js } ?>
98
+ </td>
99
+ <?js } ?>
100
+
101
+ <td class="description last"><?js= prop.description ?><?js if (prop.subprops) { ?>
102
+ <h6>Properties</h6><?js= self.partial('properties.tmpl', prop) ?>
103
+ <?js } ?></td>
104
+ </tr>
105
+
106
+ <?js }); ?>
107
+ </tbody>
108
+ </table>
109
+ </div>
package/tmpl/returns.tmpl CHANGED
@@ -1,19 +1,19 @@
1
- <?js
2
- var data = obj || {};
3
- if (data.description) {
4
- ?>
5
- <div class="param-desc">
6
- <?js= description ?>
7
- </div>
8
- <?js } ?>
9
-
10
- <?js if (data.type && data.type.names) {?>
11
- <dl class="param-type">
12
- <dt>
13
- Type:&nbsp;
14
- </dt>
15
- <dd>
16
- <?js= this.partial('type.tmpl', data.type.names) ?>
17
- </dd>
18
- </dl>
1
+ <?js
2
+ var data = obj || {};
3
+ if (data.description) {
4
+ ?>
5
+ <div class="param-desc">
6
+ <?js= description ?>
7
+ </div>
8
+ <?js } ?>
9
+
10
+ <?js if (data.type && data.type.names) {?>
11
+ <dl class="param-type">
12
+ <dt>
13
+ Type:&nbsp;
14
+ </dt>
15
+ <dd>
16
+ <?js= this.partial('type.tmpl', data.type.names) ?>
17
+ </dd>
18
+ </dl>
19
19
  <?js } ?>
package/tmpl/search.tmpl CHANGED
@@ -1,17 +1,17 @@
1
- <div class="search-container" id="PkfLWpAbet" style="display: none">
2
- <div class="wrapper" id="iCxFxjkHbP">
3
- <button class="icon-button search-close-button" id="VjLlGakifb" aria-label='close search'>
4
- <svg>
5
- <use xlink:href="#close-icon"></use>
6
- </svg>
7
-
8
- </button>
9
- <div class="search-box-c">
10
- <svg><use xlink:href="#search-icon"></use></svg>
11
- <input type="text" id="vpcKVYIppa" class="search-input" placeholder="Search..." autofocus>
12
- </div>
13
- <div class="search-result-c" id="fWwVHRuDuN">
14
- <span class="search-result-c-text">Type anything to view search result</span>
15
- </div>
16
- </div>
1
+ <div class="search-container" id="PkfLWpAbet" style="display: none">
2
+ <div class="wrapper" id="iCxFxjkHbP">
3
+ <button class="icon-button search-close-button" id="VjLlGakifb" aria-label='close search'>
4
+ <svg>
5
+ <use xlink:href="#close-icon"></use>
6
+ </svg>
7
+
8
+ </button>
9
+ <div class="search-box-c">
10
+ <svg><use xlink:href="#search-icon"></use></svg>
11
+ <input type="text" id="vpcKVYIppa" class="search-input" placeholder="Search..." autofocus>
12
+ </div>
13
+ <div class="search-result-c" id="fWwVHRuDuN">
14
+ <span class="search-result-c-text">Type anything to view search result</span>
15
+ </div>
16
+ </div>
17
17
  </div>
@@ -1,24 +1,24 @@
1
- <?js
2
- var data = this.sidebar
3
-
4
- if(Array.isArray(data.sections)) {
5
-
6
- data.sections.forEach(function(section) {
7
- if(section.items.length > 0) { ?>
8
-
9
- <div class="sidebar-section-title with-arrow" data-isopen="false" id="<?js= section.id?>">
10
- <div><?js= section.name ?></div>
11
- <svg><use xlink:href="#down-icon"></use></svg>
12
- </div>
13
- <div class="sidebar-section-children-container">
14
-
15
- <?js
16
- section.items.forEach(function(item) { ?>
17
- <div class="sidebar-section-children">
18
- <?js= item.anchor ?>
19
- </div>
20
-
21
- <?js }) ?>
22
- </div>
23
-
1
+ <?js
2
+ var data = this.sidebar
3
+
4
+ if(Array.isArray(data.sections)) {
5
+
6
+ data.sections.forEach(function(section) {
7
+ if(section.items.length > 0) { ?>
8
+
9
+ <div class="sidebar-section-title with-arrow" data-isopen="false" id="<?js= section.id?>">
10
+ <div><?js= section.name ?></div>
11
+ <svg><use xlink:href="#down-icon"></use></svg>
12
+ </div>
13
+ <div class="sidebar-section-children-container">
14
+
15
+ <?js
16
+ section.items.forEach(function(item) { ?>
17
+ <div class="sidebar-section-children">
18
+ <?js= item.anchor ?>
19
+ </div>
20
+
21
+ <?js }) ?>
22
+ </div>
23
+
24
24
  <?js }})}?>
@@ -1,10 +1,10 @@
1
- <?js
2
- var data = this.sidebar
3
-
4
- if(data.title.isHTML) { ?>
5
- <?js= data.title.title ?>
6
- <?js } else { ?>
7
-
8
- <a href="/" class="sidebar-title sidebar-title-anchor"><?js= data.title.title ?></a>
9
-
1
+ <?js
2
+ var data = this.sidebar
3
+
4
+ if(data.title.isHTML) { ?>
5
+ <?js= data.title.title ?>
6
+ <?js } else { ?>
7
+
8
+ <a href="/" class="sidebar-title sidebar-title-anchor"><?js= data.title.title ?></a>
9
+
10
10
  <?js } ?>
package/tmpl/sidebar.tmpl CHANGED
@@ -1,9 +1,9 @@
1
- <div class="sidebar" id="sidebar">
2
- <?js= this.partial('sidebar-title.tmpl')?>
3
-
4
-
5
- <div class="sidebar-items-container">
6
- <?js= this.partial('sidebar-items.tmpl') ?>
7
-
8
- </div>
1
+ <div class="sidebar" id="sidebar">
2
+ <?js= this.partial('sidebar-title.tmpl')?>
3
+
4
+
5
+ <div class="sidebar-items-container">
6
+ <?js= this.partial('sidebar-items.tmpl') ?>
7
+
8
+ </div>
9
9
  </div>
package/tmpl/source.tmpl CHANGED
@@ -1,13 +1,13 @@
1
- <?js
2
- var data = obj;
3
- ?>
4
- <section id="source-page" class="source-page">
5
- <header>
6
- <h1 id="title" class="has-anchor">
7
- <?js= data.title ?>
8
- </h1>
9
- </header>
10
- <article>
11
- <pre class="prettyprint source lang-js"><code><?js= data.code ?></code></pre>
12
- </article>
1
+ <?js
2
+ var data = obj;
3
+ ?>
4
+ <section id="source-page" class="source-page">
5
+ <header>
6
+ <h1 id="title" class="has-anchor">
7
+ <?js= data.title ?>
8
+ </h1>
9
+ </header>
10
+ <article>
11
+ <pre class="prettyprint source lang-js"><code><?js= data.code ?></code></pre>
12
+ </article>
13
13
  </section>
package/tmpl/toc.tmpl CHANGED
@@ -1,4 +1,4 @@
1
- <div class="toc-content">
2
- <span class="bold">On this page</span>
3
- <div id="eed4d2a0bfd64539bb9df78095dec881"></div>
1
+ <div class="toc-content">
2
+ <span class="bold">On this page</span>
3
+ <div id="eed4d2a0bfd64539bb9df78095dec881"></div>
4
4
  </div>