<commit_before>
<script type="text/javascript">
  {{{ globRaw 'app/scripts/vendor/modernizr.2.6.2.custom.js'}}}
  //https://raw.github.com/matthewlein/Modernizr/master/feature-detects/pixel-density.js
  Modernizr.addTest('highres', function() {
    // for opera
    var ratio = '2.99/2';
    // for webkit
    var num = '1.499';
    var mqs = [
      'only screen and (-o-min-device-pixel-ratio:' + ratio + ')',
      'only screen and (min--moz-device-pixel-ratio:' + ratio + ')',
      'only screen and (-webkit-min-device-pixel-ratio:' + num + ')',
      'only screen and (min-device-pixel-ratio:' + num + ')'
    ];
    var isHighRes = false;

    // loop through vendors, checking non-prefixed first
    for (var i = mqs.length - 1; i >= 0; i--) {
      isHighRes = Modernizr.mq( mqs[i] );
      // if found one, return early
      if ( isHighRes ) {
        return isHighRes;
      }
    }
    // not highres
    return isHighRes;

  });
</script>

<!-- GOOGLE FONTS
http://www.google.com/fonts/#UsePlace:use/Collection:Open+Sans:400italic,700italic,400,700|Roboto+Slab:400,300
-->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700|Roboto+Slab:400,300' rel='stylesheet' type='text/css'>

{{!
<script type="text/javascript">
  WebFontConfig = {
    google: { families: [ 'Open+Sans:400italic,700italic,400,700:latin', 'Roboto+Slab:300,400:latin' ] }
  };
  (function() {
    var wf = document.createElement('script');
    wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
        '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
    wf.type = 'text/javascript';
    wf.async = 'true';
    var s = document.getElementsByTagName('script')[0];
    //s.parentNode.insertBefore(wf, s);
  })();
</script>
}}
<commit_msg>Fonts: allow both http and https loading<commit_after>
<script type="text/javascript">
  {{{ globRaw 'app/scripts/vendor/modernizr.2.6.2.custom.js'}}}
  //https://raw.github.com/matthewlein/Modernizr/master/feature-detects/pixel-density.js
  Modernizr.addTest('highres', function() {
    // for opera
    var ratio = '2.99/2';
    // for webkit
    var num = '1.499';
    var mqs = [
      'only screen and (-o-min-device-pixel-ratio:' + ratio + ')',
      'only screen and (min--moz-device-pixel-ratio:' + ratio + ')',
      'only screen and (-webkit-min-device-pixel-ratio:' + num + ')',
      'only screen and (min-device-pixel-ratio:' + num + ')'
    ];
    var isHighRes = false;

    // loop through vendors, checking non-prefixed first
    for (var i = mqs.length - 1; i >= 0; i--) {
      isHighRes = Modernizr.mq( mqs[i] );
      // if found one, return early
      if ( isHighRes ) {
        return isHighRes;
      }
    }
    // not highres
    return isHighRes;

  });
</script>

<!-- GOOGLE FONTS
http://www.google.com/fonts/#UsePlace:use/Collection:Open+Sans:400italic,700italic,400,700|Roboto+Slab:400,300
-->
<link href='//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700|Roboto+Slab:400,300' rel='stylesheet' type='text/css'>

{{!
<script type="text/javascript">
  WebFontConfig = {
    google: { families: [ 'Open+Sans:400italic,700italic,400,700:latin', 'Roboto+Slab:300,400:latin' ] }
  };
  (function() {
    var wf = document.createElement('script');
    wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
        '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
    wf.type = 'text/javascript';
    wf.async = 'true';
    var s = document.getElementsByTagName('script')[0];
    //s.parentNode.insertBefore(wf, s);
  })();
</script>
}}

{'fraction_non_alphanumeric': 0.1880912632164719, 'fraction_numerical': 0.038397328881469114, 'mean_word_length': 3.146482122260669, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '4645363', 'n_tokens_mistral': 1402, 'n_tokens_neox': 1289, 'n_words': 222}