<commit_before><?xml version="1.0" encoding="UTF-8" ?> 
<Module>
  <ModulePrefs title="Cycle"/> 
  <UserPref name="imageURLs" display_name="Image URLs" required="true"/>
  <UserPref name="imageLinks" display_name="Image Links"/>
  <UserPref name="effect" display_name="Effect" required="true" datatype="enum" default_value="fade">
    <EnumValue value="none"/>
    <EnumValue value="fade"/>
    <EnumValue value="cover"/>
    <EnumValue value="scrollUp"/>
    <EnumValue value="scrollDown"/>
    <EnumValue value="scrollLeft"/>
    <EnumValue value="scrollRight"/>
    <EnumValue value="turnUp"/>
    <EnumValue value="turnDown"/>
    <EnumValue value="turnLeft"/>
    <EnumValue value="turnRight"/>
  </UserPref>
  <Content type="html">
     <![CDATA[ 

<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="jquery-cycle-all-2.88.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
  var prefs = new gadgets.Prefs();
  var imageURLs = prefs.getString('imageURLs').split('|');
  var imageLinks = prefs.getString('imageLinks').split('|');
  for (var idx in imageURLs) {
    var imageURL = imageURLs[idx];
    var imageLink = imageLinks[idx];
    var content = '<img src="' + encodeURI(imageURL) + '" alt="">';
    if (imageLink != null && imageLink != '')
      content = '<a href="' + encodeURI(imageLink) + '">' + content + '</a>';
    $('#slideshow').append(content);
  }
  $('#slideshow').cycle({
    fx: prefs.getString('effect')
  });
});<commit_msg>Updated link target to _top<commit_after><?xml version="1.0" encoding="UTF-8" ?> 
<Module>
  <ModulePrefs title="Cycle"/> 
  <UserPref name="imageURLs" display_name="Image URLs" required="true"/>
  <UserPref name="imageLinks" display_name="Image Links"/>
  <UserPref name="effect" display_name="Effect" required="true" datatype="enum" default_value="fade">
    <EnumValue value="none"/>
    <EnumValue value="fade"/>
    <EnumValue value="cover"/>
    <EnumValue value="scrollUp"/>
    <EnumValue value="scrollDown"/>
    <EnumValue value="scrollLeft"/>
    <EnumValue value="scrollRight"/>
    <EnumValue value="turnUp"/>
    <EnumValue value="turnDown"/>
    <EnumValue value="turnLeft"/>
    <EnumValue value="turnRight"/>
  </UserPref>
  <Content type="html">
     <![CDATA[ 

<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="jquery-cycle-all-2.88.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
  var prefs = new gadgets.Prefs();
  var imageURLs = prefs.getString('imageURLs').split('|');
  var imageLinks = prefs.getString('imageLinks').split('|');
  for (var idx in imageURLs) {
    var imageURL = imageURLs[idx];
    var imageLink = imageLinks[idx];
    var content = '<img src="' + encodeURI(imageURL) + '" alt="">';
    if (imageLink != null && imageLink != '')
      content = '<a href="' + encodeURI(imageLink) + '" target="_top">' + content + '</a>';
    $('#slideshow').append(content);
  }
  $('#slideshow').cycle({
    fx: prefs.getString('effect')
  });
});
{'fraction_non_alphanumeric': 0.202650290885585, 'fraction_numerical': 0.005817711700064641, 'mean_word_length': 4.606884057971015, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 2, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '848528', 'n_tokens_mistral': 1013, 'n_tokens_neox': 992, 'n_words': 199}