File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { getInterfaceElementMergeData } from "./build/webref/elements.js";
1313import { getInterfaceToEventMap } from "./build/webref/events.js" ;
1414import { getWebidls } from "./build/webref/idl.js" ;
1515import jsonc from "jsonc-parser" ;
16- import { generateDescription } from "./build/mdn-comments.js" ;
16+ import { generateDescriptions } from "./build/mdn-comments.js" ;
1717
1818function mergeNamesakes ( filtered : Browser . WebIdl ) {
1919 const targets = [
@@ -95,7 +95,7 @@ async function emitDom() {
9595 const addedItems = await readInputJSON ( "addedTypes.jsonc" ) ;
9696 const comments = await readInputJSON ( "comments.json" ) ;
9797 const deprecatedInfo = await readInputJSON ( "deprecatedMessage.json" ) ;
98- const documentationFromMDN = generateDescription ( ) ;
98+ const documentationFromMDN = generateDescriptions ( ) ;
9999 const removedItems = await readInputJSON ( "removedTypes.jsonc" ) ;
100100
101101 async function readInputJSON ( filename : string ) {
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ function getIndexMdContents(folders: URL[]): { [key: string]: string } {
8888 return results ;
8989}
9090
91- export function generateDescription ( ) : Record < string , string > {
91+ export function generateDescriptions ( ) : Record < string , string > {
9292 const stats = fs . statSync ( basePath ) ;
9393 if ( ! stats . isDirectory ( ) ) {
9494 throw new Error (
You can’t perform that action at this time.
0 commit comments