Skip to content

Commit d6b6f08

Browse files
authored
remove redundant language in MDN links (#2103)
1 parent 590ebf3 commit d6b6f08

File tree

10 files changed

+37
-37
lines changed

10 files changed

+37
-37
lines changed

baselines/dom.generated.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3326,7 +3326,7 @@ interface Attr extends Node {
33263326
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
33273327
*/
33283328
value: string;
3329-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
3329+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
33303330
get textContent(): string;
33313331
set textContent(value: string | null);
33323332
}
@@ -8219,7 +8219,7 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
82198219
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
82208220
*/
82218221
substringData(offset: number, count: number): string;
8222-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
8222+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
82238223
get textContent(): string;
82248224
set textContent(value: string | null);
82258225
}
@@ -10680,7 +10680,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
1068010680
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
1068110681
*/
1068210682
writeln(...text: string[]): void;
10683-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10683+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1068410684
get textContent(): null;
1068510685
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1068610686
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -10707,7 +10707,7 @@ declare var Document: {
1070710707
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
1070810708
readonly ownerDocument: Document;
1070910709
getElementById(elementId: string): HTMLElement | null;
10710-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10710+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1071110711
get textContent(): string;
1071210712
set textContent(value: string | null);
1071310713
}
@@ -10786,7 +10786,7 @@ interface DocumentType extends Node, ChildNode {
1078610786
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)
1078710787
*/
1078810788
readonly systemId: string;
10789-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10789+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1079010790
get textContent(): null;
1079110791
}
1079210792

@@ -11389,7 +11389,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1138911389
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
1139011390
*/
1139111391
webkitMatchesSelector(selectors: string): boolean;
11392-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
11392+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1139311393
get textContent(): string;
1139411394
set textContent(value: string | null);
1139511395
addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;

baselines/ts5.5/dom.generated.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3326,7 +3326,7 @@ interface Attr extends Node {
33263326
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
33273327
*/
33283328
value: string;
3329-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
3329+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
33303330
get textContent(): string;
33313331
set textContent(value: string | null);
33323332
}
@@ -8211,7 +8211,7 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
82118211
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
82128212
*/
82138213
substringData(offset: number, count: number): string;
8214-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
8214+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
82158215
get textContent(): string;
82168216
set textContent(value: string | null);
82178217
}
@@ -10672,7 +10672,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
1067210672
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
1067310673
*/
1067410674
writeln(...text: string[]): void;
10675-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10675+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1067610676
get textContent(): null;
1067710677
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1067810678
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -10699,7 +10699,7 @@ declare var Document: {
1069910699
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
1070010700
readonly ownerDocument: Document;
1070110701
getElementById(elementId: string): HTMLElement | null;
10702-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10702+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1070310703
get textContent(): string;
1070410704
set textContent(value: string | null);
1070510705
}
@@ -10778,7 +10778,7 @@ interface DocumentType extends Node, ChildNode {
1077810778
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)
1077910779
*/
1078010780
readonly systemId: string;
10781-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10781+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1078210782
get textContent(): null;
1078310783
}
1078410784

@@ -11379,7 +11379,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1137911379
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
1138011380
*/
1138111381
webkitMatchesSelector(selectors: string): boolean;
11382-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
11382+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1138311383
get textContent(): string;
1138411384
set textContent(value: string | null);
1138511385
addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;

baselines/ts5.6/dom.generated.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3326,7 +3326,7 @@ interface Attr extends Node {
33263326
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
33273327
*/
33283328
value: string;
3329-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
3329+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
33303330
get textContent(): string;
33313331
set textContent(value: string | null);
33323332
}
@@ -8219,7 +8219,7 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
82198219
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
82208220
*/
82218221
substringData(offset: number, count: number): string;
8222-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
8222+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
82238223
get textContent(): string;
82248224
set textContent(value: string | null);
82258225
}
@@ -10680,7 +10680,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
1068010680
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
1068110681
*/
1068210682
writeln(...text: string[]): void;
10683-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10683+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1068410684
get textContent(): null;
1068510685
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1068610686
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -10707,7 +10707,7 @@ declare var Document: {
1070710707
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
1070810708
readonly ownerDocument: Document;
1070910709
getElementById(elementId: string): HTMLElement | null;
10710-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10710+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1071110711
get textContent(): string;
1071210712
set textContent(value: string | null);
1071310713
}
@@ -10786,7 +10786,7 @@ interface DocumentType extends Node, ChildNode {
1078610786
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)
1078710787
*/
1078810788
readonly systemId: string;
10789-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
10789+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1079010790
get textContent(): null;
1079110791
}
1079210792

@@ -11389,7 +11389,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1138911389
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
1139011390
*/
1139111391
webkitMatchesSelector(selectors: string): boolean;
11392-
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */
11392+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
1139311393
get textContent(): string;
1139411394
set textContent(value: string | null);
1139511395
addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;

deploy/readmes/audioworklet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> The AudioWorklet interface of the Web Audio API is used to supply custom audio processing scripts that execute in a separate thread to provide very low latency audio processing. The worklet's code is run in the AudioWorkletGlobalScope global execution context, using a separate Web Audio thread which is shared by the worklet and other audio nodes.
44
5-
From [MDN Web Docs: AudioWorklet](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorklet)
5+
From [MDN Web Docs: AudioWorklet](https://developer.mozilla.org/docs/Web/API/AudioWorklet)
66

77
This package contains type definitions which will set up the global environment for your TypeScript project to match the runtime environment of an Audio Worklet. The APIs inside `@types/audioworklet` are [generated from](https://github.com/microsoft/TypeScript-DOM-lib-generator/) the specifications for [Web Audio](https://webaudio.github.io/web-audio-api/).
88

deploy/readmes/serviceworker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> Service workers essentially act as proxy servers that sit between web applications, the browser, and the network (when available). They are intended, among other things, to enable the creation of effective offline experiences, intercept network requests and take appropriate action based on whether the network is available, and update assets residing on the server. They will also allow access to push notifications and background sync APIs.
44
5-
From [MDN Web Docs: Service Worker API](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API)
5+
From [MDN Web Docs: Service Worker API](https://developer.mozilla.org/docs/Web/API/Service_Worker_API)
66

77
This package contains type definitions which will set up the global environment for your TypeScript project to match the runtime environment of a Service Worker. The APIs inside `@types/serviceworker` are [generated from](https://github.com/microsoft/TypeScript-DOM-lib-generator/) the specifications for JavaScript. Given the size and state of constant change in web browsers, `@types/serviceworker` only has APIs which have passed a certain level of standardization and are available in at least two of the most popular browser engines.
88

deploy/readmes/sharedworker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> The SharedWorker interface represents a specific kind of worker that can be accessed from several browsing contexts, such as several windows, iframes or even workers. They implement an interface different than dedicated workers and have a different global scope, `SharedWorkerGlobalScope`.
44
5-
From [MDN Web Docs: SharedWorker API](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker)
5+
From [MDN Web Docs: SharedWorker API](https://developer.mozilla.org/docs/Web/API/SharedWorker)
66

77
This package contains type definitions which will set up the global environment for your TypeScript project to match the runtime environment of a Web Worker. The APIs inside `@types/sharedworker` are [generated from](https://github.com/microsoft/TypeScript-DOM-lib-generator/) the specifications for JavaScript.
88

deploy/readmes/webworker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> The Worker interface of the Web Workers API represents a background task that can be created via script, which can send messages back to its creator. Creating a worker is done by calling the `Worker("path/to/worker/script")` constructor.
44
5-
From [MDN Web Docs: Worker API](https://developer.mozilla.org/en-US/docs/Web/API/Worker)
5+
From [MDN Web Docs: Worker API](https://developer.mozilla.org/docs/Web/API/Worker)
66

77
This package contains type definitions which will set up the global environment for your TypeScript project to match the runtime environment of a Web Worker. The APIs inside `@types/webworker` are [generated from](https://github.com/microsoft/TypeScript-DOM-lib-generator/) the specifications for JavaScript.
88

inputfiles/addedTypes.jsonc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@
357357
}
358358
},
359359
"textContent": {
360-
"mdnUrl": "https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent",
360+
"mdnUrl": "https://developer.mozilla.org/docs/Web/API/Node/textContent",
361361
"overrideSignatures": [
362362
"get textContent(): string",
363363
"set textContent(value: string | null)"
@@ -792,7 +792,7 @@
792792
"methods": {
793793
"method": {
794794
"textContent": {
795-
"mdnUrl": "https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent",
795+
"mdnUrl": "https://developer.mozilla.org/docs/Web/API/Node/textContent",
796796
"overrideSignatures": [
797797
"get textContent(): string",
798798
"set textContent(value: string | null)"
@@ -815,7 +815,7 @@
815815
"methods": {
816816
"method": {
817817
"textContent": {
818-
"mdnUrl": "https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent",
818+
"mdnUrl": "https://developer.mozilla.org/docs/Web/API/Node/textContent",
819819
"overrideSignatures": [
820820
"get textContent(): string",
821821
"set textContent(value: string | null)"
@@ -847,7 +847,7 @@
847847
"methods": {
848848
"method": {
849849
"textContent": {
850-
"mdnUrl": "https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent",
850+
"mdnUrl": "https://developer.mozilla.org/docs/Web/API/Node/textContent",
851851
"overrideSignatures": [
852852
"get textContent(): null"
853853
]

inputfiles/overridingTypes.jsonc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@
696696
}
697697
},
698698
"textContent": {
699-
"mdnUrl": "https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent",
699+
"mdnUrl": "https://developer.mozilla.org/docs/Web/API/Node/textContent",
700700
"overrideSignatures": [
701701
"get textContent(): null"
702702
]
@@ -768,7 +768,7 @@
768768
]
769769
},
770770
"textContent": {
771-
"mdnUrl": "https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent",
771+
"mdnUrl": "https://developer.mozilla.org/docs/Web/API/Node/textContent",
772772
"overrideSignatures": [
773773
"get textContent(): string",
774774
"set textContent(value: string | null)"

inputfiles/patches/permissions.kdl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
// https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features
33
// Please add a feature only when it's supported by multiple engines.
44
enum PermissionName {
5-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility
5+
// Full support: https://developer.mozilla.org/docs/Web/API/Permissions_API#browser_compatibility
66
camera
7-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API#browser_compatibility
7+
// Full support: https://developer.mozilla.org/docs/Web/API/Geolocation_API#browser_compatibility
88
geolocation
9-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility
9+
// Full support: https://developer.mozilla.org/docs/Web/API/Permissions_API#browser_compatibility
1010
microphone
11-
// Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API#browser_compatibility
11+
// Gecko and Blink: https://developer.mozilla.org/docs/Web/API/Web_MIDI_API#browser_compatibility
1212
midi
13-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API#browser_compatibility
13+
// Full support: https://developer.mozilla.org/docs/Web/API/Notifications_API#browser_compatibility
1414
notifications
15-
// Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#browser_compatibility
15+
// Gecko and Blink: https://developer.mozilla.org/docs/Web/API/Storage_API#browser_compatibility
1616
persistent-storage
17-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Push_API#browser_compatibility
17+
// Full support: https://developer.mozilla.org/docs/Web/API/Push_API#browser_compatibility
1818
push
19-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API#browser_compatibility
19+
// Full support: https://developer.mozilla.org/docs/Web/API/Screen_Wake_Lock_API#browser_compatibility
2020
screen-wake-lock
21-
// Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility
21+
// Full support: https://developer.mozilla.org/docs/Web/API/Storage_Access_API#browser_compatibility
2222
storage-access
2323
}

0 commit comments

Comments
 (0)