You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some weird names and typealiases were cleaned up (I don't think that `Int8ArrayOrInt16ArrayOrInt32ArrayOrUint8ArrayOrUint16ArrayOrUint32ArrayOrUint8ClampedArrayOrFloat32ArrayOrFloat64ArrayOrDataView` or `typealias VoidFunction = (() -> Void)` could be useful in any way). `GlobalEventHandlers` protocol which was only inherited by a single concrete type was removed with its extension becoming the extension of the corresponding class.
I've also cleaned up event handlers to retain and release closures when needed, which makes our single basic test pass in browsers. Basic CI config to verify that is added here.
A few other uses of `JSClosure` were updated accordingly to fix memory management. Unused `ClosureHandler` property wrapper is removed, leaving only `OptionalClosureHandler`.
* Update to JavaScriptKit 0.9, add `Global` helpers
* Cleanup unused code, fix event handlers crash
* Add GitHub Actions workflow, assert in the test
* Remove ClosureHandler, fix OptionalClosureHandler
* Fix `MutationObserver` build error
* Use `globalThis` instead of `global`
0 commit comments