resources/ui/steps/uw.ui.Thanks.js
Function UWUIThanks
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
uw.ui.Thanks = function UWUIThanks( config ) {
var homeButtonTarget,
homeButtonHref,
homeButtonUrl,
thanksMessage,
Function addUpload
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
uw.ui.Thanks.prototype.addUpload = function ( upload ) {
var thumbWikiText, $thanksDiv, $thumbnailWrapDiv, $thumbnailDiv, $thumbnailCaption, $thumbnailLink;
thumbWikiText = '[[' + [
upload.details.getTitle().getPrefixedText(),