<commit_before>/**
 * Required modernizr lib
 */
if ( $.browser.webkit ) {
    var width = window.innerWidth;
    if (width < screen.width) {
        width = screen.width;
    }
    $("body").css('width', width + 'px');
}

if( /Android|webOS/i.test(navigator.userAgent) ) {
    var ww = ( $(window).width() < window.screen.width ) ? $(window).width() : window.screen.width; //get proper width
    var mw = 480; // min width of site<commit_msg>OneUp fix for iphone apps to use retina resolutions<commit_after>/**
 * Required modernizr lib
 */
if ( $.browser.webkit ) {
    var width = window.innerWidth;
    if (width < screen.width) {
        width = screen.width;
    }
    // fix for Iphone app
    var ww = ( $(window).width() < window.screen.width ) ? $(window).width() : window.screen.width; //get proper width
    var mw = parseInt($(window).width(), 10) * parseInt(window.devicePixelRatio, 10); // min width of site
    var ratio =  1 / parseInt(window.devicePixelRatio, 10); //ww / ww*window.devicePixelRatio; //calculate ratio
    if( ww < mw){ //smaller than minimum size
        $('#Viewport').attr('content', 'initial-scale=' + ratio + ', maximum-scale=' + ratio + ', minimum-scale=' + ratio + ', user-scalable=yes, width=' + ww*window.devicePixelRatio);
    }else{ //regular size
        $('#Viewport').attr('content', 'initial-scale=1.0, maximum-scale=2, minimum-scale=1.0, user-scalable=yes, width=' + ww);
    }
    $("body").css('width', width + 'px');
}

if(/Android|webOS/i.test(navigator.userAgent) ) {
    var ww = ( $(window).width() < window.screen.width ) ? $(window).width() : window.screen.width; //get proper width
    var mw = 480; // min width of site
{'fraction_non_alphanumeric': 0.18392857142857144, 'fraction_numerical': 0.010714285714285714, 'mean_word_length': 3.1712158808933, 'pattern_counts': {'":': 0, '<': 9, '<?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': '7285344', 'n_tokens_mistral': 557, 'n_tokens_neox': 545, 'n_words': 135}