<commit_before>var CloudCmd, Util, DOM;
(function(CloudCmd, Util, DOM){
    'use strict';
    
    CloudCmd.Help = new HelpProto(CloudCmd, Util, DOM);
        
    function HelpProto(CloudCmd, Util, DOM){
        var Key     = CloudCmd.Key,
            Images  = DOM.Images,
            Help    = this;
            
        this.init                       = function(pCallBack){
            Util.loadOnLoad([
                Help.show,
                CloudCmd.View,
            ]);
            
            DOM.Events.addKey(listener);
            DOM.setButtonKey('f1', Help.show);
            
            delete Help.init;
        };
        
        this.show                       = function(){
            Images.showLoad({top:true});
            DOM.cssSet({
                    id      : 'help-css',
                    inner   : '#help {'             +
                                'white-space'       + ': normal;'   +
                                'margin'            + ': 25px;'     +
                              '}'                   +
                              
                              '#help li {'          +
                                'list-style-type' + ': disc;'       +
                              '}'
                });
                
            DOM.ajax({
                url: '/HELP.md', 
                success:  function (pData){
                    var lData = {text: pData};
                    DOM.ajax({
                        method  : 'post',
                        url     : 'https://api.github.com/markdown',
                        data    : Util.stringifyJSON(lData),
                        success:function(pResult){
                            var lDiv = DOM.anyload({
                                name    : 'div',
                                id      : 'help',
                                inner   : pResult.toString()
                            });
                            
                            Images.hideLoad();
                            CloudCmd.View.show(lDiv);
                        },
                    
                        error: Images.showError
                    });
                },
                
                error:Images.showError
            });
        };
        
        
        this.hide                       = function() {
            CloudCmd.View.hide();
        };
        
        function listener(pEvent) {
            var lF1         = Key.F1,
                lIsBind     = Key.isBind(),
                lKey        = pEvent.keyCode;
            
            /* если клавиши можно обрабатывать */
            if (lIsBind && lKey === lF1)
                Help.show();
        }
    }
    
})(CloudCmd, Util, DOM);<commit_msg>chore(help) add " ", "\n"<commit_after>var CloudCmd, Util, DOM;
(function(CloudCmd, Util, DOM){
    'use strict';
    
    CloudCmd.Help = new HelpProto(CloudCmd, Util, DOM);
        
    function HelpProto(CloudCmd, Util, DOM){
        var Key     = CloudCmd.Key,
            Images  = DOM.Images,
            Help    = this;
            
        this.init                       = function(pCallBack) {
            Util.loadOnLoad([
                Help.show,
                CloudCmd.View,
            ]);
            
            DOM.Events.addKey(listener);
            DOM.setButtonKey('f1', Help.show);
            
            delete Help.init;
        };
        
        this.show                       = function() {
            Images.showLoad({top:true});
            
            DOM.cssSet({
                    id      : 'help-css',
                    inner   : '#help {'             +
                                'white-space'       + ': normal;'   +
                                'margin'            + ': 25px;'     +
                              '}'                   +
                              
                              '#help li {'          +
                                'list-style-type' + ': disc;'       +
                              '}'
                });
                
            DOM.ajax({
                url: '/HELP.md', 
                success:  function (pData) {
                    var lData = {text: pData};
                    
                    DOM.ajax({
                        method  : 'post',
                        url     : 'https://api.github.com/markdown',
                        data    : Util.stringifyJSON(lData),
                        success:function(pResult){
                            var lDiv = DOM.anyload({
                                name    : 'div',
                                id      : 'help',
                                inner   : pResult.toString()
                            });
                            
                            Images.hideLoad();
                            CloudCmd.View.show(lDiv);
                        },
                    
                        error: Images.showError
                    });
                },
                
                error:Images.showError
            });
        };
        
        this.hide                       = function() {
            CloudCmd.View.hide();
        };
        
        function listener(pEvent) {
            var lF1         = Key.F1,
                lIsBind     = Key.isBind(),
                lKey        = pEvent.keyCode;
            
            /* если клавиши можно обрабатывать */
            if (lIsBind && lKey === lF1)
                Help.show();
        }
    }
    
})(CloudCmd, Util, DOM);
{'fraction_non_alphanumeric': 0.09953287818900466, 'fraction_numerical': 0.0021559468199784403, 'mean_word_length': 0.639281507656066, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2439744', 'n_tokens_mistral': 1343, 'n_tokens_neox': 1275, 'n_words': 215}