lib/polymer/man/polymer.5.txt in polymer-1.0.0.beta.4 vs lib/polymer/man/polymer.5.txt in polymer-1.0.0.beta.5
- old
+ new
@@ -120,10 +120,21 @@
... Polymer will create two sprites in the "sprites/" directory:
one.png will contain "book" and "calculator", while two.png will con-
tain "magnet" and "television".
+ 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.
+
+
+
+ sprites "sources/:name/*" => :data_uri
+
+
+
There may be cases where you need to customise an individual sprite and
you don't want to change the global setting; sprite allows you to spec-
ify any of the global settings with the exception of "sass" and "css"
like so:
@@ -143,6 +154,6 @@
SEE ALSO
polymer(1), polymer-init(1)
-POLYMER 1.0.0.BETA.4 September 2010 .POLYMER(5)
+POLYMER 1.0.0.BETA.5 October 2010 .POLYMER(5)