1var abp = abp || {}; 2(function () { 3 4 if (!toastr) { 5 return; 6 } 7 8 /* DEFAULTS *************************************************/ 9 10 toastr.options.positionClass = 'toast-bottom-right'; 11 12 /* NOTIFICATION *********************************************/ 13 14 var showNotification = function (type, message, title, options) { 15 toastr[type](message, title, options); 16 }; 17 18 abp.notify.success = function (message, title, options) { 19 showNotification('success', message, title, options); 20 }; 21 22 abp.notify.info = function (message, title, options) { 23 showNotification('info', message, title, options); 24 }; 25 26 abp.notify.warn = function (message, title, options) { 27 showNotification('warning', message, title, options); 28 }; 29 30 abp.notify.error = function (message, title, options) { 31 showNotification('error', message, title, options); 32 }; 33 34})();
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.