Skip to content

Commit

Permalink
Adding cachebusting to icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Lovely authored and Evan Lovely committed Apr 11, 2017
1 parent 8edbe6c commit 4b20d2c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/_patterns/01-atoms/images/_icons.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@font-face {
font-family: $icon-font-base-name;
src: url("#{$icon-font-path}#{$icon-font-base-name}.eot");
src: url("#{$icon-font-path}#{$icon-font-base-name}.eot?cachebust=#{random(99999)}");
src: /* stylelint-disable-line declaration-colon-space-after */
url("#{$icon-font-path}#{$icon-font-base-name}.eot?#iefix") format("eot"),
url("#{$icon-font-path}#{$icon-font-base-name}.woff") format("woff"),
url("#{$icon-font-path}#{$icon-font-base-name}.ttf") format("truetype"),
url("#{$icon-font-path}#{$icon-font-base-name}.svg#icons") format("svg");
url("#{$icon-font-path}#{$icon-font-base-name}.eot?cachebust=#{random(99999)}#iefix") format("eot"),
url("#{$icon-font-path}#{$icon-font-base-name}.woff?cachebust=#{random(99999)}") format("woff"),
url("#{$icon-font-path}#{$icon-font-base-name}.ttf?cachebust=#{random(99999)}") format("truetype"),
url("#{$icon-font-path}#{$icon-font-base-name}.svg?cachebust=#{random(99999)}#icons") format("svg");
font-weight: normal;
font-style: normal;
}
Expand Down

0 comments on commit 4b20d2c

Please sign in to comment.