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/path/_constants.ts | 2 +- std/path/_interface.ts | 2 +- std/path/_util.ts | 2 +- std/path/common.ts | 2 +- std/path/mod.ts | 2 +- std/path/posix.ts | 2 +- std/path/separator.ts | 2 +- std/path/win32.ts | 3 ++- 8 files changed, 9 insertions(+), 8 deletions(-) (limited to 'std/path') diff --git a/std/path/_constants.ts b/std/path/_constants.ts index 78755529b..88374ae05 100644 --- a/std/path/_constants.ts +++ b/std/path/_constants.ts @@ -1,6 +1,6 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -/** This module is browser compatible. */ +// This module is browser compatible. // Alphabet chars. export const CHAR_UPPERCASE_A = 65; /* A */ diff --git a/std/path/_interface.ts b/std/path/_interface.ts index c05af9f5e..39044eaf1 100644 --- a/std/path/_interface.ts +++ b/std/path/_interface.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -/** This module is browser compatible. */ +// This module is browser compatible. /** * A parsed path object generated by path.parse() or consumed by path.format(). diff --git a/std/path/_util.ts b/std/path/_util.ts index 37ef847cf..046c44337 100644 --- a/std/path/_util.ts +++ b/std/path/_util.ts @@ -1,6 +1,6 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -/** This module is browser compatible. */ +// This module is browser compatible. import type { FormatInputPathObject } from "./_interface.ts"; import { diff --git a/std/path/common.ts b/std/path/common.ts index 01470105c..1d8df96ad 100644 --- a/std/path/common.ts +++ b/std/path/common.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -/** This module is browser compatible. */ +// This module is browser compatible. import { SEP } from "./separator.ts"; diff --git a/std/path/mod.ts b/std/path/mod.ts index 8819bf25f..5fd793c75 100644 --- a/std/path/mod.ts +++ b/std/path/mod.ts @@ -1,6 +1,6 @@ // Copyright the Browserify authors. MIT License. // Ported mostly from https://github.com/browserify/path-browserify/ -/** This module is browser compatible. */ +// This module is browser compatible. import { isWindows } from "../_util/os.ts"; import * as _win32 from "./win32.ts"; diff --git a/std/path/posix.ts b/std/path/posix.ts index eb88be079..ed3649bd3 100644 --- a/std/path/posix.ts +++ b/std/path/posix.ts @@ -1,6 +1,6 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -/** This module is browser compatible. */ +// This module is browser compatible. import type { FormatInputPathObject, ParsedPath } from "./_interface.ts"; import { CHAR_DOT, CHAR_FORWARD_SLASH } from "./_constants.ts"; diff --git a/std/path/separator.ts b/std/path/separator.ts index 61bb7c588..58b42000a 100644 --- a/std/path/separator.ts +++ b/std/path/separator.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -/** This module is browser compatible. */ +// This module is browser compatible. import { isWindows } from "../_util/os.ts"; diff --git a/std/path/win32.ts b/std/path/win32.ts index f974511e2..d456c68e4 100644 --- a/std/path/win32.ts +++ b/std/path/win32.ts @@ -1,6 +1,7 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -/** This module is browser compatible. */ +// This module is browser compatible. + import type { FormatInputPathObject, ParsedPath } from "./_interface.ts"; import { CHAR_BACKWARD_SLASH, -- cgit v1.2.3