stylesheets/_fontcustom.scss in compass-fontcustom-1.3.0 vs stylesheets/_fontcustom.scss in compass-fontcustom-1.3.1

- old
+ new

@@ -14,16 +14,13 @@ // $glyph-names must be a space-separated list of glyph names // $base-class should be the css class to @extend @mixin glyphs($map, $glyph-names, $base-class: false) { $name: glyph-font-name($map); @each $glyph-name in $glyph-names { - - $index: index($glyph-names, $glyph-name); $class_name: "icon-#{$name}-#{sanitize-symbol($glyph-name)}"; .#{$class_name} { @if $base-class { @extend #{$base-class}; } - &:before { content: glyph($index); } + &:before { content: glyph($map, $glyph-name); } } - } }