phpsysinfo/js/jQuery/jquery.jgrowl.js
Function render
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function( notification ) {
var self = this;
var message = notification.message;
var o = notification.options;
Consider simplifying this complex logical expression. Open
Open
if ( $(this).data("jGrowl") != undefined && $(this).data("jGrowl").created != undefined &&
($(this).data("jGrowl").created.getTime() + parseInt($(this).data("jGrowl").life)) < (new Date()).getTime() &&
$(this).data("jGrowl").sticky != true &&
($(this).data("jGrowl.pause") == undefined || $(this).data("jGrowl.pause") != true) ) {