I'm afraid not.
As you know, these functions are implemented as follows:
(function ($) { ... function setValidationValues(options, ruleName, value){
as long as this function is defined in a private area that you cannot access from the outside, this is a kind of private function for the class. The purpose of defining such functions is that you cannot access them outside the scope. minifier methods also know this FACT and use it to compress js as much as possible. if you look at the shortened version of jquery.validate.unobtrusive.min.js , then make sure that the setValidationValues function no longer exists, but (some kind of letter) x .
This is not a big copy and paste for these functions if they are too short to worry about their sizes. With the minifier you can get this function and other 3 other functions for only 200 bytes . and this 200 bytes will be used only once.
However, there is a way, if you use the mini version, you can find the name of the function and put it in your
adapter.add(function(){//use their name here}) , you would notice that copying and pasting is better.
source share