Skip to content

Commit 2ff8e12

Browse files
committed
#38414: Remove unused code
1 parent 6235c28 commit 2ff8e12

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/vs/base/browser/fastDomNode.ts

-4
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,6 @@ export class FastDomNode<T extends HTMLElement> {
201201
this.domNode.setAttribute(name, value);
202202
}
203203

204-
public getAttribute(name: string): string {
205-
return this.domNode.getAttribute(name);
206-
}
207-
208204
public removeAttribute(name: string): void {
209205
this.domNode.removeAttribute(name);
210206
}

src/vs/base/common/async.ts

-7
Original file line numberDiff line numberDiff line change
@@ -611,13 +611,6 @@ export class RunOnceScheduler {
611611
}
612612
}
613613

614-
/**
615-
* Replace runner. If there is a runner already scheduled, the new runner will be called.
616-
*/
617-
setRunner(runner: () => void): void {
618-
this.runner = runner;
619-
}
620-
621614
/**
622615
* Cancel previous runner (if any) & schedule a new runner.
623616
*/

0 commit comments

Comments
 (0)