1/** 2 * AppPresser 3 * This is a helper file for AppPresser when the app theme is not loaded, but the regular desktop theme is. 4 */ 5(function(window, document, $, undefined) { 6 var apppresser = { 7 init: function() { 8 /** 9 * The AppPresser_Bypass cookie allows the IAB to display the desktop theme. 10 * If the AppPresser_Bypass cookie is in use it needs to be removed before 11 * the current window closes. 12 */ 13 $(window).unload(apppresser.removeByPassCookie); 14 }, 15 removeByPassCookie: function() { 16 apppresser.cookie.delete('AppPresser_Bypass'); 17 }, 18 cookie: { 19 delete: function(name) { 20 document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;'; 21 } 22 } 23 }; 24 25 apppresser.init(); 26})(window, document, jQuery, undefined);
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.