1(function($) { 2 var RiotNotify = { 3 4 RiotNotifyOptions : { 5 clickToHide: true, 6 autoHide: true, 7 autoHideDelay: 5000, 8 arrowShow: true, 9 arrowSize: 15, 10 style: 'bootstrap', 11 className: 'success', 12 showAnimation: 'slideDown', 13 showDuration: 400, 14 hideAnimation: 'slideUp', 15 hideDuration: 200, 16 gap: 2 17 }, 18 19 RiotNotifySend : function(notification, options, element) { 20 if(!notification) { 21 return; 22 } 23 options = Object.assign({}, this.RiotNotifyOptions, options); 24 if(typeof element != 'undefined') { 25 $(element).notify(notification, options) 26 } else { 27 $.notify(notification, options) 28 } 29 } 30 }; 31 32 riot.mixin('RiotNotify', RiotNotify); 33})(jQuery);
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.