1// Quick Chat 4.14 - load 2var quick_chat = jQuery.extend(quick_chat || {}, { 3 script_suffix: (quick_chat.debug_mode == 1) ? '.dev' : '', 4 private_current_name: 'quick_chat_private_current_'+quick_chat.user_id, 5 get_script: function(url, callback, options) { 6 options = jQuery.extend(options || {}, { 7 crossDomain: (quick_chat.debug_mode == 1)? true : false, 8 dataType: "script", 9 cache: true, 10 success: callback, 11 url: url 12 }); 13 14 return jQuery.ajax(options); 15 }, 16 load: function(){ 17 if(jQuery('div.quick-chat-container').length != 0 || (jQuery.cookie(quick_chat.private_current_name) && jQuery.cookie(quick_chat.private_current_name) != '{}')) 18 quick_chat.get_script(quick_chat.url+'js/quick-chat-init'+quick_chat.script_suffix+'.js?'+quick_chat.version); 19 } 20}); 21 22if (/(chrome|webkit)[ \/]([\w.]+)/.test(window.navigator.userAgent.toLowerCase())) { 23 // Webkit bug workaround: http://code.google.com/p/chromium/issues/detail?id=41726 24 jQuery(window).load(quick_chat.load()); 25}else{ 26 jQuery(document).ready(quick_chat.load()); 27}
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.