Skip to content

Migrate jQuery dependency to jQuery 4.0.0 compatibility, for #183#191

Open
ChaosEngine wants to merge 2 commits intoaspnet:mainfrom
ChaosEngine:main
Open

Migrate jQuery dependency to jQuery 4.0.0 compatibility, for #183#191
ChaosEngine wants to merge 2 commits intoaspnet:mainfrom
ChaosEngine:main

Conversation

@ChaosEngine
Copy link
Copy Markdown

This pull request updates the jquery.validate.unobtrusive package to support jQuery 4.0.0 and makes a small improvement to the event handler binding in the JavaScript source. The main focus is ensuring compatibility with the latest jQuery release.

Dependency updates:

  • Updated the required jQuery version to 4.0.0 in both Microsoft.jQuery.Unobtrusive.Validation.nuspec and package.json. [1] [2]

Code compatibility:

  • Replaced usage of $.proxy with Function.prototype.bind for the onResetProxy event handler in src/jquery.validate.unobtrusive.js to align with modern JavaScript practices and compatibility with jQuery 4.0.0.

Closes #183

@ChaosEngine
Copy link
Copy Markdown
Author

@ChaosEngine please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@dotnet-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@dotnet-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@dotnet-policy-service agree company="Microsoft"

Contributor License Agreement

@dotnet-policy-service agree

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 4.0.0 NOT supported

2 participants