1/** 2 * Created by minhluong on 7/18/17. 3 */ 4 import "jquery-validation"; 5 import "../util/jquery.custom_validate.js"; 6$( function() { 7 $.extend( $.validator.messages, { 8 required: $( "#validation-message" ).data( "field-require" ), 9 minlength: $.validator.format( $( "#validation-message" ).data( "field-min-length" ) ), 10 equalTo: $( "#validation-message" ).data( "field-password-not-match" ) 11 } ); 12 13 $( "#edit-staff-form" ).customValidate( { 14 rules: { 15 old_password: { 16 required: true 17 }, 18 password: { 19 required: true, 20 minlength: 5 21 }, 22 confirm_password: { 23 required: true, 24 minlength: 5, 25 equalTo: "#password" 26 } 27 } 28 } ); 29 30} );
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.