1/** 2 * 3 * @authors Eric Hsiao 4 * 5 */ 6 7popLineQr = function () { 8 9 //private menbers 10 11 var infoScroll; 12 13 14 //private methods 15 function init() { 16 console.log('popLineQr is loaded.'); 17 } 18 19 function intoPage(_itemUrl) { 20 21 $.ajax({ 22 url: _itemUrl, 23 type: "GET", 24 dataType: "text", 25 success: function (_data) { 26 console.log(_data) 27 console.log("showQr success") 28 29 $(".pop__lineQr__qrcode").attr("src", _data); 30 TweenMax.to('.pop__lineQr', 0.5, { autoAlpha: 1 }); 31 $('html').css('overflow', 'hidden'); 32 33 }, 34 error: function (err) { 35 console.log("showQr erre") 36 } 37 }); 38 39 40 // setTimeout(function () { 41 // gtag_pageView('thanks'); 42 // },500); 43 } 44 45 function leavePage() { 46 TweenMax.to('.pop__lineQr', 0.5, { autoAlpha: 0 }); 47 $('html').css('overflow', 'unset'); 48 } 49 50 //constructor 51 { 52 $(document).ready(function () { 53 init(); 54 55 TweenMax.set('.pop__lineQr', { autoAlpha: 0 }); 56 $('.pop__lineQr').css('display', 'block'); 57 58 $('.pop__lineQr--close').click(function (e) { 59 e.preventDefault(); 60 leavePage(); 61 }); 62 }); 63 } 64 65 //public 66 67 return { 68 intoPage: function (_itemUrl) { 69 intoPage(_itemUrl); 70 }, 71 leavePage: function () { 72 leavePage(); 73 } 74 }; 75}; 76 77var popLineQr = new popLineQr();
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.