remove node_modules and .gitignore them

This commit is contained in:
2023-11-24 14:40:32 -05:00
parent 5f6e638903
commit a74d7b91b8
8963 changed files with 1 additions and 874175 deletions
-9
View File
@@ -1,9 +0,0 @@
import { AbortSignal } from "./AbortSignal";
export class AbortController {
constructor() {
this.signal = new AbortSignal();
}
abort() {
this.signal.abort();
}
}
-20
View File
@@ -1,20 +0,0 @@
export class AbortSignal {
constructor() {
this.onabort = null;
this._aborted = false;
Object.defineProperty(this, "_aborted", {
value: false,
writable: true,
});
}
get aborted() {
return this._aborted;
}
abort() {
this._aborted = true;
if (this.onabort) {
this.onabort(this);
this.onabort = null;
}
}
}
-2
View File
@@ -1,2 +0,0 @@
export * from "./AbortController";
export * from "./AbortSignal";