hdoc-tools 0.8.38 → 0.8.40
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.
- package/hdoc-module.js +1 -1
- package/hdoc.js +1 -1
- package/package.json +1 -1
- package/templates/init/hdocbook-project.json +8 -1
- package/ui/index.html +1 -1
package/hdoc-module.js
CHANGED
@@ -251,7 +251,7 @@
|
|
251
251
|
let commits = github_response.getBody('UTF8');
|
252
252
|
commits = JSON.parse(commits);
|
253
253
|
commits.forEach(function(commit){
|
254
|
-
if (commit.committer.type.toLowerCase() === 'user' && commit.committer.login.toLowerCase() !== 'web-flow') {
|
254
|
+
if (commit.committer && commit.committer.type && commit.committer.type.toLowerCase() === 'user' && commit.committer.login.toLowerCase() !== 'web-flow') {
|
255
255
|
if (!contributors[commit.committer.id]) {
|
256
256
|
response.contributor_count++;
|
257
257
|
contributors[commit.committer.id] = {
|
package/hdoc.js
CHANGED
package/package.json
CHANGED
package/ui/index.html
CHANGED
@@ -251,7 +251,7 @@
|
|
251
251
|
</div>
|
252
252
|
<div v-if="docApp.tableOfContents.length" class="panel-content">
|
253
253
|
<div v-for="tocItem in docApp.tableOfContents" v-bind:class="{'ms-3':tocItem.tagName=='H3'}">
|
254
|
-
<a :href="tocItem.href">{{tocItem.eleText}}
|
254
|
+
<a :href="tocItem.href">{{tocItem.eleText}}</a>
|
255
255
|
</div>
|
256
256
|
</div>
|
257
257
|
</div>
|