Framework updates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2026-03-04 23:20:19 +00:00
parent a89daf3d43
commit 3ed8517b2a
891 changed files with 11126 additions and 9600 deletions

View File

@@ -24,7 +24,7 @@ class CancelToken {
const token = this;
// eslint-disable-next-line func-names
this.promise.then(cancel => {
this.promise.then((cancel) => {
if (!token._listeners) return;
let i = token._listeners.length;
@@ -36,10 +36,10 @@ class CancelToken {
});
// eslint-disable-next-line func-names
this.promise.then = onfulfilled => {
this.promise.then = (onfulfilled) => {
let _resolve;
// eslint-disable-next-line func-names
const promise = new Promise(resolve => {
const promise = new Promise((resolve) => {
token.subscribe(resolve);
_resolve = resolve;
}).then(onfulfilled);
@@ -127,7 +127,7 @@ class CancelToken {
});
return {
token,
cancel
cancel,
};
}
}