summaryrefslogtreecommitdiff
path: root/std/fmt/colors.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2021-01-02 15:17:01 +0000
committerGitHub <noreply@github.com>2021-01-02 10:17:01 -0500
commit62465ca4ee93826cd901b021a7e97b58adea5879 (patch)
tree74f5d5627903794300307fa64bd38a7692a1ce05 /std/fmt/colors.ts
parent41a4a34aee57a4690e5c1b9ba54b27a7035bac37 (diff)
fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960)
Diffstat (limited to 'std/fmt/colors.ts')
-rw-r--r--std/fmt/colors.ts24
1 files changed, 12 insertions, 12 deletions
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;