1$(document).ready(function () { 2 3 // Remove lang cookie on click to the international link. 4 $('a#international-link').click(function () { 5 $.removeCookie('miraicorpLang', { 6 expires: 2000, 7 path: '/', 8 domain: 'mirai.com' 9 }); 10 }); 11 12 // Write lang cookie for language if the user uses the language switcher (only available in es/ca site). 13 $('li.qts_lang_item:not(".active") a').click(function () { 14 $.cookie('miraicorpLang', $(this).attr('lang'), { 15 expires: 2000, 16 path: '/', 17 domain: 'mirai.com' 18 }); 19 }); 20 21 // Landing: write a cookie for language if there is a data lang attribute 22 $('a.web-link').click(function () { 23 if ($(this).data('lang')) { 24 $.cookie('miraicorpLang', $(this).data('lang'), { 25 expires: 2000, 26 path: '/', 27 domain: 'mirai.com' 28 }); 29 } 30 }); 31 32}); 33
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.