<commit_before>(function($){ 
    
    "use strict";
    
    $.fn.fullWidth = function(options) {
            
        var defaults = {
            maxHeight   :    450,
            minHeight   :    375,
            delay       :    5000,
            transition  :    1000,
            maxFont     :    36,
            minFont     :    20
        }, settings = $.extend(defaults, options);
                        
        return this.each( function() {
        
            var full    =    $(this),
            inner       =    full.find('.inner'),
            slides      =    inner.find('.slide'),
            images      =    slides.find('img'),
            nav         =    full.find('.slide-nav'),
            controls    =    full.find('.controls a'),
            navCircles  =    '',
            smallest    =    9999,
            status      =    {current : 0, max : slides.length - 1},
            timers      =    {slides : '', resize : ''},
            
            move = function(direction, current){
                if(inner.is(':animated')) return;
            
                stop();
            
                if(direction === 'right'){
                    status.current = status.current+1 > status.max ? 0 : status.current+1;
                }else if(direction === 'left'){
                    status.current = status.current-1 < 0 ? status.max : status.current-1;
                }else{
                    status.current = current || 0;
                }
            
                navCircles.removeClass('current').eq(status.current).addClass('current');
                inner.animate({'margin-left' : '-'+100*status.current+'%'}, settings.transition ,function(){ start(); });
            
            },
            start = function(){
                timers.slides = setTimeout(function(){ move('right'); }, settings.delay);
            },
            stop = function(){
                clearTimeout(timers.slides);
            },
            resize = function(){
                
                var wWidth    =    $(window).width(),
                newHeight     =    parseInt(wWidth/3, 10),
                imageCSS      =    wWidth <= smallest ? ['100%', 'auto', '9999'] : ['', '', ''],
                start         =    inner.height(),
                divCSS        =    wWidth <= 480 ? ['0', '100%', 'none'] : ['', '', ''],
                size          =    wWidth/41;
                /*
                size equals window width divided by 41 - 41 was chosen as it creates a nicely proportionate font size.
                However, you can experiment with this if you want a generally larger or smaller size to be set.
                For example: a width of 960px/41 = 23.4px, with 20 instead of 41 you'd get a font size of 48px.<commit_msg>Revert "Added space for readability."<commit_after>(function($){ 
    
    "use strict";
    
    $.fn.fullWidth = function(options) {
            
        var defaults = {
            maxHeight   :    450,
            minHeight   :    375,
            delay       :    5000,
            transition  :    1000,
            maxFont     :    36,
            minFont     :    20
        }, settings = $.extend(defaults, options);
                        
        return this.each( function() {
        
            var full    =    $(this),
            inner       =    full.find('.inner'),
            slides      =    inner.find('.slide'),
            images      =    slides.find('img'),
            nav         =    full.find('.slide-nav'),
            controls    =    full.find('.controls a'),
            navCircles  =    '',
            smallest    =    9999,
            status      =    {current : 0, max : slides.length - 1},
            timers      =    {slides : '', resize : ''},
            move = function(direction, current){
                if(inner.is(':animated')) return;
            
                stop();
            
                if(direction === 'right'){
                    status.current = status.current+1 > status.max ? 0 : status.current+1;
                }else if(direction === 'left'){
                    status.current = status.current-1 < 0 ? status.max : status.current-1;
                }else{
                    status.current = current || "0";
                }
            
                navCircles.removeClass('current').eq(status.current).addClass('current');
                inner.animate({'margin-left' : '-'+100*status.current+'%'}, settings.transition ,function(){ start(); });
            
            },
            start = function(){
                timers.slides = setTimeout(function(){ move('right'); }, settings.delay);
            },
            stop = function(){
                clearTimeout(timers.slides);
            },
            resize = function(){
                
                var wWidth    =    $(window).width(),
                newHeight     =    parseInt(wWidth/3, 10),
                imageCSS      =    wWidth <= smallest ? ['100%', 'auto', '9999'] : ['', '', ''],
                start         =    inner.height(),
                divCSS        =    wWidth <= 480 ? ['0', '100%', 'none'] : ['', '', ''],
                size          =    wWidth/41;
                /*
                size equals window width divided by 41 - 41 was chosen as it creates a nicely proportionate font size.
                However, you can experiment with this if you want a generally larger or smaller size to be set.
                For example: a width of 960px/41 = 23.4px, with 20 instead of 41 you'd get a font size of 48px.
{'fraction_non_alphanumeric': 0.12712928097543483, 'fraction_numerical': 0.025461717769410076, 'mean_word_length': 1.1695838195254764, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '2386504', 'n_tokens_mistral': 1505, 'n_tokens_neox': 1363, 'n_words': 343}