1$(document).ready(function () { 2 3 // ---------------------- 4 // model javascript 5 // init 6 // preReady 7 // ---------------------- 8 if (Gss.app.cactive) { 9 var model_object = 'model_' + Gss.app.cactive; 10 if (typeof window[model_object] == 'object') { 11 if (window[model_object].hasOwnProperty('init')) { 12 window[model_object].init(); 13 } 14 if (window[model_object].hasOwnProperty('preReady')) { 15 window[model_object].preReady(); 16 } 17 } 18 } 19 20 if (Gss.app.preReady && Gss.app.preReady.length) { 21 for (i in Gss.app.preReady) { 22 var action = Gss.app.preReady[i]; 23 eval(action); 24 } 25 } 26 27 Gss.Form.init(); 28 Gss.LazyLoadImages.init(); 29 App.navigation.watch(); 30 App.registration.watch(); 31 Gss.Dyslexic.init(); 32 Gss.BannerResponsive.init(); 33 Gss.ResendLoginSms.init(); 34 Gss.Inputs.init(); 35 Gss.clipboardInit(); 36 37 // form, select 38 // if (typeof $.fn.multiselect != "undefined") { 39 // $('select.gselect').multiselect(); 40 // } 41 42 // form, input type=text 43 //if (typeof $.fn.rguiInputText != "undefined") { 44 // $('input.ginputtext').rguiInputText(); 45 //} 46 47 // form, input type=text 48 //if (typeof $.fn.rguiTextarea != "undefined") { 49 // $('textarea.gtextarea').rguiTextarea(); 50 //} 51 52 53 // Menu 54 // if (typeof Gss.menu !== 'undefined') { 55 // Gss.menu.init(); 56 // } 57 58 // if (typeof Gss.SameWidth !== 'undefined') { 59 // Gss.SameWidth.init(); 60 // } 61 62 if (typeof Gss.Tooltips != "undefined") { 63 Gss.Tooltips.init(); 64 } 65 66 $('.dropdown-toggle').dropdown(); 67 68 $(".hoverModal").hover(function () { 69 $($(this).attr('data-target')).modal({ 70 show: true 71 }); 72 }); 73 74 $('[data-hideout]').each(function () { 75 76 var $el = $(this); 77 var delay = $el.attr('data-hideout') 78 79 setTimeout(function () { 80 $el.remove(); 81 }, delay) 82 }); 83 84 // $(document).on('show.bs.modal', function (e) { 85 // 86 // $('#header').css('padding-right', Gss.getScrollbarWidth2()+'px'); 87 // 88 // }).on('hide.bs.modal', function (e) { 89 // 90 // $('#header').css('padding-right', ''); 91 // }); 92 93 94 // Newsletter 95 //if (typeof Gss.newsletter !== 'undefined') { 96 // Gss.newsletter.init(); 97 //} 98 99 // colorbox gallery - bloky 100 // if ($("a[rel='blockPhoto']").length) { 101 // $("a[rel='blockPhoto']").colorbox(); 102 // } 103 104 // zobrazenie komentu k obrazku v tooltipe 105 // if ($("img.imgTooltip").length) { 106 // $("img.imgTooltip").each(function () { 107 // var $img = $(this); 108 // var html = $img.prev('.comment').html(); 109 // $img.tooltip( 110 // { 111 // content: html, 112 // gravity: 's' 113 // }); 114 // }); 115 // } 116 117 // ---------------------- 118 // model javascript 119 // postReady 120 // ---------------------- 121 if (Gss.app.cactive) { 122 var model_object = 'model_' + Gss.app.cactive; 123 if (typeof window[model_object] == 'object') { 124 if (window[model_object].hasOwnProperty('postReady')) { 125 window[model_object].postReady(); 126 } 127 } 128 } 129 130 // ---------------------- 131 // show messages 132 // ---------------------- 133 // Gss.Messages.init(); 134 135 // Gss.Bridge.height.auto(); 136 // Gss.Bridge.scroll.top(); 137 138}); 139
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.