lib/polymer/man/polymer.5 in polymer-1.0.0.beta.4 vs lib/polymer/man/polymer.5 in polymer-1.0.0.beta.5

- old
+ new

@@ -1,10 +1,10 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 .ad l . -.TH "\.POLYMER" "5" "September 2010" "POLYMER 1.0.0.BETA.4" "Polymer Manual" +.TH "\.POLYMER" "5" "October 2010" "POLYMER 1.0.0.BETA.5" "Polymer Manual" . .SH "NAME" \fB\.polymer\fR \- a format for describing image sprites and their sources . .SH "DESCRIPTION" @@ -106,9 +106,22 @@ . .IP "" 0 . .P \&\.\.\. Polymer will create two sprites in the "sprites/" directory: one\.png will contain "book" and "calculator", while two\.png will contain "magnet" and "television"\. +. +.P +You may instead prefer to set the save path to :data_uri; Polymer will place the sprite contents into your CSS file\. This reduces the number of HTTP requests requires to load your pages at the expense of slightly greater data transfer\. +. +.IP "" 4 +. +.nf + +sprites "sources/:name/*" => :data_uri +. +.fi +. +.IP "" 0 . .P There may be cases where you need to customise an individual sprite and you don\'t want to change the global setting; \fBsprite\fR allows you to specify any of the global settings with the exception of "sass" and "css" like so: . .IP "" 4