1var Login = function () { 2 3 return { 4 init: function (showSlideShow) { 5 if (showSlideShow && $.backstretch) { 6 $.backstretch([ 7 '/assets/img/bg/1.jpg', 8 '/assets/img/bg/2.jpg', 9 '/assets/img/bg/3.jpg', 10 '/assets/img/bg/4.jpg' 11 ], 12 { 13 fade: 1000, 14 duration: 8000 15 }); 16 } 17 else { 18 $('body').addClass('white-background'); 19 } 20 if (page.isInDialogMode()) { 21 dialog.resize(); 22 } 23 }, 24 switchPanels: function (panel) { 25 $('.form-content .content, .login-container').hide(); 26 switch (panel) { 27 case 0: 28 $('body').removeClass('body-forgot').removeClass('body-signup').addClass('body-login'); 29 break; 30 case 1: 31 $('body').removeClass('body-login').removeClass('body-signup').addClass('body-forgot'); 32 break; 33 case 2: 34 $('body').removeClass('body-login').removeClass('body-forgot').addClass('body-signup'); 35 break; 36 } 37 } 38 }; 39 40}();
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.