We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0771e commit 29f3d7cCopy full SHA for 29f3d7c
src/build.ts
@@ -116,19 +116,10 @@ async function emitDom() {
116
} catch {
117
commentsMap = {};
118
}
119
- commentCleanup(commentsMap);
120
const result = convert(idl, commentsMap);
121
return result;
122
123
124
- function commentCleanup(commentsMap: Record<string, string>) {
125
- for (const key in commentsMap) {
126
- // Filters out phrases for nested comments as we retargets them:
127
- // "This operation receives a dictionary, which has these members:"
128
- commentsMap[key] = commentsMap[key].replace(/[,.][^,.]+:$/g, ".");
129
- }
130
131
-
132
function mergeApiDescriptions(
133
idl: Browser.WebIdl,
134
descriptions: { interfaces: { interface: Record<string, any> } },
0 commit comments