Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make bind work with only jQuery without prototype if needed
If jQuery is included before as an adjunct and jQuery is the implementation behind $; the jQuery.ajax call will be used. If neither is included earlier then prototype will be used. jQuery doesn't have a "to JSON string" function so JSON.stringify is used and to secure older browsers the json2 script is included.
- Loading branch information
Showing
8 changed files
with
607 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
48cdf0f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to have introduced: JENKINS-18641
48cdf0f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changeset will break any plugin relying on makeStaplerProxy to work as advertised.
48cdf0f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Darn. That was one of the cases that I couldn't test when I did the implementation.