1var ecblib = ecblib || {}; 2ecblib.display_pwd = ecblib.display_pwd || {}; 3 4(function () { 5 var _display_pwd = ecblib.display_pwd; 6 7 _display_pwd.displayPwd = displayPwd; 8 9 window.addEventListener('pageshow', function () { 10 jQuery('.js-displaypwd-password').attr('type','password'); 11 jQuery('.fa-eye, .fa-eye-slash').removeClass('fa-eye').addClass('fa-eye-slash'); 12 }); 13 14 function displayPwd(id){ 15 var type = jQuery(id).attr('type'); 16 var closestDisplayPwd = jQuery(id).siblings('span.display-pwd'); 17 18 if(type == 'password'){ 19 jQuery(id).attr('type','text'); 20 closestDisplayPwd.removeClass('fa-eye-slash').addClass('fa-eye'); 21 }else{ 22 jQuery(id).attr('type','password'); 23 closestDisplayPwd.removeClass('fa-eye').addClass('fa-eye-slash'); 24 } 25 } 26}());
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.