1(function($jq) { 2 if ($jq.validator.unobtrusive.adapters["ischecked"] === undefined) { 3 $jq.validator.unobtrusive.adapters.addBool("ischecked", "required"); 4 } 5 6 $jq.validator.addMethod( 7 "daterange", 8 function(value, element, params) { 9 return this.optional(element) || (value >= params.min && value <= params.max); 10 }); 11 12 if ($jq.validator.unobtrusive.adapters["daterange"] === undefined) { 13 $jq.validator.unobtrusive.adapters.add( 14 "daterange", 15 ["min", "max"], 16 function(options) { 17 var params = { 18 min: options.params.min, 19 max: options.params.max 20 }; 21 options.rules["daterange"] = params; 22 options.messages["daterange"] = options.message; 23 }); 24 } 25})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.