Skip to content

Conversation

@markvantilburg
Copy link
Contributor

Replace 16 total instances of $.proxy():

10 instances → method.bind(context) (constructor method bindings) 6 instances → (e) => method(arg, e) (event handlers with arguments)

fixes: #4339

Replace 16 total instances of $.proxy():

10 instances → method.bind(context) (constructor method bindings)
6 instances → (e) => method(arg, e) (event handlers with arguments)

fixes: kenwheeler#4339
@markvantilburg markvantilburg marked this pull request as draft November 14, 2025 13:21
method dragHandler - is NOT DEFINED in the file
@markvantilburg markvantilburg marked this pull request as ready for review November 14, 2025 13:23
@markvantilburg
Copy link
Contributor Author

@ahmadalfy can you merge this?

I had to remove this since the method is not in the file
.dragHandler = $.proxy(.dragHandler, _);

Mark van Tilburg added 2 commits November 28, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jQuery.proxy() is deprecated

1 participant