Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Remove deprecated goog.mixin #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/crypticbutter/snoop/impl/cljs.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
;; Because the current MetaFn implementation can cause quirky errors in CLJS
[f m]
(let [new-f (goog/bind f #js{})]
(goog/mixin new-f f)
(.assign js/Object new-f f)
(specify! new-f IMeta #_:clj-kondo/ignore (-meta [_] m))
new-f))