1$(function() { 2 if (CookieManager.isLoggedOut()) { 3 $('#js-menu-login-link').attr('href', 'javascript:LoginAuth.loginWithSessionCheck();'); 4 $('#js-menu-login-itemName').text('OC'); 5 return; 6 } 7 8 LoginAuth.checkSsoSession() 9 .then(function(isLoggedIn) { 10 if (isLoggedIn) { 11 $('#js-menu-login-link').attr('href', LoginAuth.getMyPageUrl()); 12 $('#js-menu-login-itemName').text("ïõêpy[W"); 13 } else { 14 $('#js-menu-login-link').attr('href', 'javascript:LoginAuth.loginWithSessionCheck();'); 15 $('#js-menu-login-itemName').text('OC'); 16 } 17 }) 18 .catch(function(err) { 19 $('#js-menu-login-link').attr('href', 'javascript:LoginAuth.loginWithSessionCheck();'); 20 $('#js-menu-login-itemName').text('OC'); 21 }); 22});
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.