core/js/jquery.avatar.js
Function avatar
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.avatar = function(user, size, ie8fix, hidedefault, callback, displayname) {
if (typeof(size) === 'undefined') {
if (this.height() > 0) {
size = this.height();
} else if (this.data('size') > 0) {
Function avatar
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$.fn.avatar = function(user, size, ie8fix, hidedefault, callback, displayname) {