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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy