<commit_before>import {getElementById} from '../common/getElement';
import {imageServer} from '../system/system';
import insertHtmlBeforeEnd from '../common/insertHtmlBeforeEnd';
import {scouttowerUrl} from '../support/constants';

export default function scoutTowerLink() {
  var spoils = getElementById('minibox-spoilsofwar');
  if (spoils) {
    var parent = spoils.children[1].children[0];
    insertHtmlBeforeEnd(parent, '&nbsp;<a href="' + scouttowerUrl +
      '" class="tip-static" data-tipped="View Scout Report">' +
      '<img id="fshScoutTower" ' +
      'src="' + imageServer + '/structures/27.gif"></a>');
  }
}<commit_msg>new CDN - fix scout tower icon<commit_after>import {cdn} from '../system/system';
import {getElementById} from '../common/getElement';
import insertHtmlBeforeEnd from '../common/insertHtmlBeforeEnd';
import {scouttowerUrl} from '../support/constants';

export default function scoutTowerLink() {
  var spoils = getElementById('minibox-spoilsofwar');
  if (spoils) {
    var parent = spoils.children[1].children[0];
    insertHtmlBeforeEnd(parent, '&nbsp;<a href="' + scouttowerUrl +
      '" class="tip-static" data-tipped="View Scout Report">' +
      '<img id="fshScoutTower" ' +
      'src="' + cdn + '/structures/27.png"></a>');
  }
}
{'fraction_non_alphanumeric': 0.17176470588235293, 'fraction_numerical': 0.006274509803921568, 'mean_word_length': 4.5, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4107155', 'n_tokens_mistral': 421, 'n_tokens_neox': 403, 'n_words': 87}