From 62465ca4ee93826cd901b021a7e97b58adea5879 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Sat, 2 Jan 2021 15:17:01 +0000 Subject: fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960) --- std/fmt/colors.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'std/fmt') diff --git a/std/fmt/colors.ts b/std/fmt/colors.ts index 6c986711d..a2787a198 100644 --- a/std/fmt/colors.ts +++ b/std/fmt/colors.ts @@ -1,16 +1,16 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -/** A module to print ANSI terminal colors. Inspired by chalk, kleur, and colors - * on npm. - * - * ``` - * import { bgBlue, red, bold } from "https://deno.land/std/fmt/colors.ts"; - * console.log(bgBlue(red(bold("Hello world!")))); - * ``` - * - * This module supports `NO_COLOR` environmental variable disabling any coloring - * if `NO_COLOR` is set. - * - * This module is browser compatible. */ +// A module to print ANSI terminal colors. Inspired by chalk, kleur, and colors +// on npm. +// +// ``` +// import { bgBlue, red, bold } from "https://deno.land/std/fmt/colors.ts"; +// console.log(bgBlue(red(bold("Hello world!")))); +// ``` +// +// This module supports `NO_COLOR` environmental variable disabling any coloring +// if `NO_COLOR` is set. +// +// This module is browser compatible. const noColor = globalThis.Deno?.noColor ?? true; -- cgit v1.2.3