From 91ed614aa80f5a08669be3fe5031a95e6e75f194 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 5 Aug 2020 20:21:20 +0200 Subject: [PATCH] fix(cli/dts): MDN attribution in JSDoc for Console.dirxml (#6961) --- cli/dts/lib.deno.shared_globals.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cli/dts/lib.deno.shared_globals.d.ts b/cli/dts/lib.deno.shared_globals.d.ts index c77f1ea0e7..e331baee12 100644 --- a/cli/dts/lib.deno.shared_globals.d.ts +++ b/cli/dts/lib.deno.shared_globals.d.ts @@ -594,8 +594,7 @@ declare class Console { }>, ) => void; - /** From MDN: - * Displays an interactive tree of the descendant elements of + /** Displays an interactive tree of the descendant elements of * the specified XML/HTML element. If it is not possible to display * as an element the JavaScript Object view is shown instead. * The output is presented as a hierarchical listing of expandable @@ -603,6 +602,9 @@ declare class Console { * * Since we write to stdout, we can't display anything interactive * we just fall back to `console.dir`. + * + * > [Console.dirxml](https://developer.mozilla.org/en-US/docs/Web/API/Console/dirxml) + * > by Mozilla Contributors is licensed under CC-BY-SA 2.5. */ dirxml: ( obj: unknown,