<commit_before><script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=3.4&amp;appid=<%= Setting.get(:services, :yahoo) %>"></script>
<script type="text/javascript">
  var address = <%= @group.location.inspect %>;
  map_loaded = false;
  function load_map() {
    if(map_loaded) return;
    map_loaded = true;
    var map = new YMap($('map'));
    map.drawZoomAndCenter(address, 6);
    map.addZoomLong();
    map.setMapType(YAHOO_MAP_REG);
    var img = new YImage();
    img.src = '/images/map_marker.gif';
    img.size = new YSize(16, 28);
    var marker = new YMarker(address, img);
    map.addOverlay(marker);
    map.addTypeControl();
    map.disableKeyControls();
  }
  if(typeof(hide_map) == 'undefined' || !hide_map) {
    Element.show('map-container')<commit_msg>Use jQuery to show map on group page.<commit_after><script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?v=3.4&amp;appid=<%= Setting.get(:services, :yahoo) %>"></script>
<script type="text/javascript">
  var address = <%= @group.location.inspect %>;
  map_loaded = false;
  function load_map() {
    if(map_loaded) return;
    map_loaded = true;
    var map = new YMap($('map'));
    map.drawZoomAndCenter(address, 6);
    map.addZoomLong();
    map.setMapType(YAHOO_MAP_REG);
    var img = new YImage();
    img.src = '/images/map_marker.gif';
    img.size = new YSize(16, 28);
    var marker = new YMarker(address, img);
    map.addOverlay(marker);
    map.addTypeControl();
    map.disableKeyControls();
  }
  if(typeof(hide_map) == 'undefined' || !hide_map) {
    $('#map-container').show();
{'fraction_non_alphanumeric': 0.1797752808988764, 'fraction_numerical': 0.008739076154806492, 'mean_word_length': 4.025078369905956, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '7567868', 'n_tokens_mistral': 577, 'n_tokens_neox': 557, 'n_words': 104}