1Office = { 2 initialize: function () { 3 if (!jQuery().ajaxForm) { 4 document.write('<script src="' + OfficeConfig.jsUrl + 'main/lib/jquery.form.min.js"><\/script>'); 5 } 6 if (!jQuery().jGrowl) { 7 document.write('<script src="' + OfficeConfig.jsUrl + 'main/lib/jquery.jgrowl.min.js"><\/script>'); 8 } 9 10 $(document).ready(function () { 11 $.jGrowl.defaults.closerTemplate = '<div>[ ' + OfficeConfig.close_all_message + ' ]</div>'; 12 }); 13 } 14 15}; 16 17Office.Message = { 18 success: function (message, sticky) { 19 if (sticky == null) { 20 sticky = false; 21 } 22 if (message) { 23 $.jGrowl(message, {theme: 'office-message-success', sticky: sticky}); 24 } 25 }, 26 error: function (message, sticky) { 27 if (sticky == null) { 28 sticky = true; 29 } 30 if (message) { 31 $.jGrowl(message, {theme: 'office-message-error', sticky: sticky}); 32 } 33 }, 34 info: function (message, sticky) { 35 if (sticky == null) { 36 sticky = false; 37 } 38 if (message) { 39 $.jGrowl(message, {theme: 'office-message-info', sticky: sticky}); 40 } 41 }, 42 close: function () { 43 $.jGrowl('close'); 44 } 45}; 46 47Office.initialize();
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.