MCPcopy Create free account
hub / github.com/angular/dev-infra / add

Method add

github-actions/browserstack/set-browserstack-env.js:15830–15840  ·  view source on GitHub ↗
(_0)

Source from the content-addressed store, hash-verified

15828 this[kEvents].load = fn;
15829 this.addEventListener("load", fn);
15830 } else {
15831 this[kEvents].load = null;
15832 }
15833 }
15834 get onabort() {
15835 webidl.brandCheck(this, _FileReader);
15836 return this[kEvents].abort;
15837 }
15838 set onabort(fn) {
15839 webidl.brandCheck(this, _FileReader);
15840 if (this[kEvents].abort) {
15841 this.removeEventListener("abort", this[kEvents].abort);
15842 }
15843 if (typeof fn === "function") {

Callers

nothing calls this directly

Calls 2

addAllMethod · 0.95
__asyncFunction · 0.70

Tested by

no test coverage detected