<commit_before>/**
 * Document geographic info component.
 * 
 * @namespace Alfresco
 * @class Alfresco.DocumentGeographicInfo
 */
(function()
{
   /**
    * YUI Library aliases
    */
   var Dom = YAHOO.util.Dom;
   
   /**
    * Alfresco Slingshot aliases
    */
   var $html = Alfresco.util.encodeHTML;
   
   /**
    * DocumentGeographicInfo constructor.
    * 
    * @param {String} htmlId The HTML id of the parent element
    * @return {Alfresco.DocumentGeographicInfo} The new DocumentGeographicInfo instance
    * @constructor
    */
   Alfresco.DocumentGeographicInfo = function(htmlId)
   {
      Alfresco.DocumentGeographicInfo.superclass.constructor.call(this, "Alfresco.DocumentGeographicInfo", htmlId);
      
      /* Decoupled event listeners */
      YAHOO.Bubbling.on("documentDetailsAvailable", this.onDocumentDetailsAvailable, this);
      
      return this;
   };
   
   YAHOO.extend(Alfresco.DocumentGeographicInfo, Alfresco.component.Base,
   {
      /**
       * GMap object
       */
      map: null,
      <commit_msg>Document Geographic Details add-on now uses custom Extras client-side namespace<commit_after>/**
 * Copyright (C) 2010-2011 Share Extras contributors.
 */

/**
* Extras root namespace.
* 
* @namespace Extras
*/
if (typeof Extras == "undefined" || !Extras)
{
   var Extras = {};
}

/**
 * Document geographic info component.
 * 
 * @namespace Extras
 * @class Extras.DocumentGeographicInfo
 */
(function()
{
   /**
    * YUI Library aliases
    */
   var Dom = YAHOO.util.Dom;
   
   /**
    * Alfresco Slingshot aliases
    */
   var $html = Alfresco.util.encodeHTML;
   
   /**
    * DocumentGeographicInfo constructor.
    * 
    * @param {String} htmlId The HTML id of the parent element
    * @return {Extras.DocumentGeographicInfo} The new DocumentGeographicInfo instance
    * @constructor
    */
   Extras.DocumentGeographicInfo = function(htmlId)
   {
      Extras.DocumentGeographicInfo.superclass.constructor.call(this, "Extras.DocumentGeographicInfo", htmlId);
      
      /* Decoupled event listeners */
      YAHOO.Bubbling.on("documentDetailsAvailable", this.onDocumentDetailsAvailable, this);
      
      return this;
   };
   
   YAHOO.extend(Extras.DocumentGeographicInfo, Alfresco.component.Base,
   {
      /**
       * GMap object
       */
      map: null,
      
{'fraction_non_alphanumeric': 0.11020583190394512, 'fraction_numerical': 0.003430531732418525, 'mean_word_length': 2.744783306581059, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1116022', 'n_tokens_mistral': 733, 'n_tokens_neox': 723, 'n_words': 147}