Skip to content

Commit

Permalink
Removing multi assignment each for Sass 3.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Burel committed Apr 28, 2015
1 parent c167719 commit bde7e08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _rem.scss
Expand Up @@ -49,8 +49,8 @@ $rem-px-only: false !default;

@mixin rem($properties, $values...) {
@if type-of($properties) == "map" {
@each $property, $values in $properties {
@include rem($property, $values...);
@each $property in map-keys($properties) {
@include rem($property, map-get($properties, $property));
}
} @else {
@each $property in $properties {
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,7 +1,7 @@
{
"name": "sass-rem",
"description": "Sass mixin and function to use rem units with pixel fallback.",
"version": "1.2.0",
"version": "1.2.1",
"homepage": "https://github.com/pierreburel/sass-rem",
"main": "_rem.scss",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "sass-rem",
"version": "1.2.0",
"version": "1.2.1",
"description": "Sass mixin and function to use rem units with pixel fallback.",
"keywords": [
"sass",
Expand Down

0 comments on commit bde7e08

Please sign in to comment.