rack-fontserve 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,4 +2,4 @@
|
|
2
2
|
# Rack::Fontserve::VERSION since Fontserve is a class that inherits from Sinatra::Base
|
3
3
|
# and we'd be getting Superclass mismatch errors here since Sinatra is
|
4
4
|
# unavailable when evaluating this file standalone, i.e. in Rakefile
|
5
|
-
FONTSERVE_VERSION = '0.1.
|
5
|
+
FONTSERVE_VERSION = '0.1.4'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<% if @font.license? %>/* LICENSE: <%= @font.license %> */<% end %>
|
2
2
|
@font-face {
|
3
|
-
font-family: '<%= @font.name %>'
|
3
|
+
font-family: '<%= @font.name %>';
|
4
4
|
<% if format?('eot') %>src: url('<%= "./#{@font.name}.eot" %>');<% end %>
|
5
5
|
src: local('☺'),
|
6
6
|
<% if format?('eot') %>url('<%= "./#{@font.name}.eot?iefix" %>') format('eot'), <% end %>
|