<commit_before>/**
*             global.js
*   Global footer file
*
*   @project    < write project name here >
*   @date       < put date here > 
*   @author     < author name >  
*   @site       < site name >
*/

(function ($, ns, window, document, undefined) {
                
                "use strict";
    
                var Global = function () {
                                /**
                                *            add all event listeners
                                */
                                var initEventListeners = function () {
                                                
                                };
        
                                /**
                                *            put all event triggers, plugin initializations
                                */
                                var initEventTriggers = function () {

                                };
        
        /**
         *  define what needs to be done after all stuff 
         *  has been loaded in to the browser
         **/
        this.onLoad = function () {
        };
        
        this.init = function () {
                                                initEventListeners();
                                                initEventTriggers();
                                };
                                /**
                                * Initialize this object when document ready event is triggered
                                */
                                $.subscribe(ns.events.INIT_MODULES, this.init);
        $.subscribe(ns.events.WINDOW_LOAD, this.onLoad);
        
                };

                ns.global = new Global();

})((typeof window.jQuery !== "undefined") ? window.jQuery : null, window.NameSpace || {}, window, window.document);<commit_msg>Update ns.global.js<commit_after>/**
 *             global.js
 *   Global footer file
 *
 *   @project    < write project name here >
 *   @date       < put date here > 
 *   @author     < author name >  
 *   @site       < site name >
 */
(function($, ns, window, document, undefined) {

    "use strict";

    var Global = function() {
        /**
         *            add all event listeners
         */
        var initEventListeners = function() {

        };

        /**
         *            put all event triggers, plugin initializations
         */
        var initEventTriggers = function() {

        };

        /**
         *  define what needs to be done after all stuff 
         *  has been loaded in to the browser
         **/
        this.onLoad = function() {};

        this.init = function() {
            initEventListeners();
            initEventTriggers();
        };
        /**
         * Initialize this object when document ready event is triggered
         */
        $.subscribe(ns.events.INIT_MODULES, this.init);
        $.subscribe(ns.events.WINDOW_LOAD, this.onLoad);

    };

    ns.global = new Global();

})((typeof window.jQuery !== "undefined") ? window.jQuery : null, window.NameSpace || {}, window, window.document);
{'fraction_non_alphanumeric': 0.09941897998708844, 'fraction_numerical': 0.0, 'mean_word_length': 1.0071243523316062, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 13, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '200119', 'n_tokens_mistral': 715, 'n_tokens_neox': 685, 'n_words': 184}