-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Polyfill WeakRef #34025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polyfill WeakRef #34025
Conversation
I compared with https://github.com/jaenster/weakref-pollyfill/blob/master/src/index.js and implementation seems pretty much the same. |
Yes, our code is less that that one because we do not need to handle other environments. And actually most browsers have builtin WeakRef support, and most polyfill packages are inactive for many years, I just don't want to introduce another stale dependency ...... |
Yeah, no need for a dependency for such simple polyfills. |
Backport #34025 by wxiaoguang Fix #33407 Co-authored-by: wxiaoguang <[email protected]>
* giteaofficial/main: [skip ci] Updated translations via Crowdin Download actions job logs from API (go-gitea#33858) Fail mirroring more gracefully (go-gitea#34002) Fix dropdown module accessing (go-gitea#34026) Polyfill WeakRef (go-gitea#34025) Fix dropdown delegating and some UI problems (go-gitea#34014)
Fix #33407