<commit_before>/*! HiDPI v1 | MIT License | git.io/hidpi */
$hidpi-debug: false !default;

@import 'compass/css3';

@mixin hidpi-abstract($image, $extension) {
  $image-fullname: '#{$image}.#{$extension}';
  $image-hidpi-fullname: '#{$image}_x2.#{$extension}';

  background-image: image-url($image-hidpi-fullname);
  @include background-size(
    image-width($image-fullname)
    image-height($image-fullname)
  );
}

@mixin hidpi($image: false, $extension: png) {
  @if $hidpi-debug {
    @if $image {
      @include hidpi-abstract($image, $extension);
    } @else {
      @content;
    }
  } @else {
    @if $image {
      background-image: image-url('#{$image}.#{$extension}');
    }
    @media (-webkit-min-device-pixel-ratio: 1.3),
           (-o-min-device-pixel-ratio: 2.6/2),
           (min--moz-device-pixel-ratio: 1.3),
           (min-device-pixel-ratio: 1.3),
           (min-resolution: 1.3dppx) {
      @if $image {
        @include hidpi-abstract($image, $extension);<commit_msg>make hidpi postfix ("_x2") configurable<commit_after>/*! HiDPI v1 | MIT License | git.io/hidpi */
$hidpi-debug: false !default;
$hidpi-postfix: '_x2' !default;

@import 'compass/css3';

@mixin hidpi-abstract($image, $extension, $postfix: $hidpi-postfix) {
  $image-fullname: '#{$image}.#{$extension}';
  $image-hidpi-fullname: '#{$image}#{$postfix}.#{$extension}';

  background-image: image-url($image-hidpi-fullname);
  @include background-size(
    image-width($image-fullname)
    image-height($image-fullname)
  );
}

@mixin hidpi($image: false, $extension: png, $postfix: $hidpi-postfix) {
  @if $hidpi-debug {
    @if $image {
      @include hidpi-abstract($image, $extension, $postfix);
    } @else {
      @content;
    }
  } @else {
    @if $image {
      background-image: image-url('#{$image}.#{$extension}');
    }
    @media (-webkit-min-device-pixel-ratio: 1.3),
           (-o-min-device-pixel-ratio: 2.6/2),
           (min--moz-device-pixel-ratio: 1.3),
           (min-device-pixel-ratio: 1.3),
           (min-resolution: 1.3dppx) {
      @if $image {
        @include hidpi-abstract($image, $extension, $postfix);
{'fraction_non_alphanumeric': 0.19859154929577466, 'fraction_numerical': 0.013615023474178404, 'mean_word_length': 3.059047619047619, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5670837', 'n_tokens_mistral': 793, 'n_tokens_neox': 780, 'n_words': 130}