Permalink
Browse files

.

  • Loading branch information...
6a68 committed Mar 18, 2013
1 parent 758d5a9 commit 03e87e088c0b804f95769912ca976475467eaba7
Showing with 1 addition and 1 deletion.
  1. +1 −1 fantastic-front-end-performance-3--connect-fonts.md
@@ -109,7 +109,7 @@ Let's walk through the process of adding ```connect-fonts``` to serve the Open S
The arguments to ```connect_fonts.setup()``` include:
* ```fonts```: an array of fonts to enable,
* ```allow_origin```: the origin for which we serve fonts; ```connect-fonts``` uses this info to set the Access-Control-Allow-Origin header for browsers that need it (Firefox 3.5+, IE 9+)
- * ```ua``` (optional): a parameter listing the user-agents to which we'll serve fonts. By default, ```connect-fonts``` uses UA sniffing to only serve browsers font formats they can parse. ```ua: 'all'``` overrides this to serve all fonts to all browsers.
+ * ```ua``` (optional): a parameter listing the user-agents to which we'll serve fonts. By default, ```connect-fonts``` uses UA sniffing to only serve browsers font formats they can parse, reducing CSS size. ```ua: 'all'``` overrides this to serve all fonts to all browsers.
4. Inside your route, pass the user's locale to the template

0 comments on commit 03e87e0

Please sign in to comment.