Sha256: c0e9a22d025aa53248a509c3c1d336f55209e84df7cbfdd6dc9390b8c7222c95

Contents?: true

Size: 330 Bytes

Versions: 13

Compression:

Stored size: 330 Bytes

Contents

@function parse-add($definition) {
  $grid: ();
  $mq: false;
  $mq-find: false;

  @each $item in $definition {
    @if $item != 'at' and $mq-find != true {
      $grid: append($grid, $item, 'space');
    }
    @else if $item == 'at' {
      $mq-find: true;
    }
    @else {
      $mq: $item;
    }
  }

  @return ($grid $mq);
}

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
singularitygs-1.1.2 stylesheets/singularitygs/language/_parse-add.scss
singularitygs-1.1.1 stylesheets/singularitygs/language/_parse-add.scss
singularitygs-1.1.0 stylesheets/singularitygs/language/_parse-add.scss
singularitygs-1.0.8 stylesheets/singularitygs/language/_parse-add.scss
singularitygs-1.0.7 stylesheets/singularitygs/language/_parse-add.scss
singularitygs-1.0.6 stylesheets/singularitygs/language/_parse-add.scss
singularitygs-1.0.5 stylesheets/singularitygs/language/_parse-add.scss
singularitygs-1.0.4 stylesheets/singularitygs/language/_parse-add.scss
singularitygs-1.0.3 stylesheets/singularitygs/language/_parse-add.scss
singularitygs-1.0.2 stylesheets/singularitygs/language/_parse-add.scss
singularitygs-1.0.1 stylesheets/singularitygs/language/_parse-add.scss
singularitygs-1.0.0 stylesheets/singularitygs/language/_parse-add.scss
susy-2.0.0.alpha.1 sass/susy/language/_parse-add.scss