Skip to content

Commit 7763bd4

Browse files
[fix]jsdoc类型白名单新增pixieldata imagebitmap review by xiongjj
1 parent eea449f commit 7763bd4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/jsdocs/template/publish.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ exports.publish = function (taffyData, opts, tutorials) {
547547
var members = helper.getMembers(data);
548548
members.tutorials = tutorials.children;
549549
// add template helpers
550-
var baseTypes = ['array', 'object', 'number', 'string', 'boolean', 'date', 'function', 'any', 'undefined', 'promise', 'THREE.CanvasRenderer'];
550+
var baseTypes = ['array', 'object', 'number', 'string', 'boolean', 'date', 'function', 'any', 'undefined', 'promise', 'THREE.CanvasRenderer', 'pixeldata', 'imagebitmap'];
551551
let linkToMap = new Map();
552552
let linkHrefs = [];
553553
function getDeledLinkName(linkName) {
@@ -796,7 +796,7 @@ exports.publish = function (taffyData, opts, tutorials) {
796796
return pages.filter(item => types.some(type => item.endsWith(type)));
797797
}
798798

799-
// const allFiles = getFileNames();
800-
// console.error('not linked by others: ', getMorePages(allFiles, getHtmlLinks(allFiles)));
801-
// console.error('don\'t have link: ', getWrongLink(allFiles));
799+
const allFiles = getFileNames();
800+
console.error('not linked by others: ', getMorePages(allFiles, getHtmlLinks(allFiles)));
801+
console.error('don\'t have link: ', getWrongLink(allFiles));
802802
};

0 commit comments

Comments
 (0)