diff --git a/Gemfile.lock b/Gemfile.lock
index 88cf3789..d0e4b152 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- compass (0.12.alpha.0.8ede06f)
+ compass (0.12.alpha.0.a00044c)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
@@ -50,14 +50,14 @@ GEM
term-ansicolor (>= 1.0.6)
diff-lcs (1.1.3)
em-dir-watcher (0.9.4)
- em-websocket (0.3.1)
+ em-websocket (0.3.5)
addressable (>= 2.1.1)
eventmachine (>= 0.12.9)
erubis (2.6.6)
abstract (>= 1.0.0)
eventmachine (0.12.10)
fssm (0.2.7)
- gherkin (2.5.1)
+ gherkin (2.5.4)
json (>= 1.4.6)
haml (3.1.3)
i18n (0.5.0)
@@ -72,7 +72,7 @@ GEM
mime-types (~> 1.16)
treetop (~> 1.4.8)
metaclass (0.0.1)
- mime-types (1.16)
+ mime-types (1.17.1)
mocha (0.10.0)
metaclass (~> 0.0.1)
polyglot (0.3.2)
@@ -95,9 +95,10 @@ GEM
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.4)
- rake (0.9.2)
- rcov (0.9.10)
- rdoc (3.9.4)
+ rake (0.9.2.2)
+ rcov (0.9.11)
+ rdoc (3.11)
+ json (~> 1.4)
rspec (2.0.1)
rspec-core (~> 2.0.1)
rspec-expectations (~> 2.0.1)
@@ -111,14 +112,14 @@ GEM
ruby-json (1.1.2)
ruby-prof (0.10.8)
rubyzip (0.9.4)
- sass (3.1.7)
- term-ansicolor (1.0.6)
+ sass (3.1.10)
+ term-ansicolor (1.0.7)
thor (0.14.6)
timecop (0.3.5)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
- tzinfo (0.3.29)
+ tzinfo (0.3.30)
PLATFORMS
ruby
diff --git a/doc-src/content/help/tutorials/spriting.markdown b/doc-src/content/help/tutorials/spriting.markdown
index 53966616..1578ef0c 100644
--- a/doc-src/content/help/tutorials/spriting.markdown
+++ b/doc-src/content/help/tutorials/spriting.markdown
@@ -62,6 +62,8 @@ is located within it.
## Nested Folders
+****Note**: The use of `orange` is only for this example, "icon" represents the folder name that contains your sprites.
+
Sprites stored in a nested folder will use the last folder name in the path as the sprite name.
Example:
@@ -72,6 +74,8 @@ Example:
## Selector Control
+****Note**: The use of `icon` is only for this example, "icon" represents the folder name that contains your sprites.
+
If you want control over what selectors are generated, it is easy to do. In this example,
this is done by using the magic `icon-sprite` mixin. Note that the mixin's name is dependent
on the name of the folder in which you've placed your icons.
@@ -98,9 +102,35 @@ And your stylesheet will compile to:
.actions .save { background-position: 0 -96px; }
.actions .delete { background-position: 0 0; }
+
+## Sass Functions
+
+****Note**: The use of `icon` is only for this example, "icon" represents the folder name that contains your sprites.
+
+Getting the image dimensions of a sprite
+
+You can get a unit value by using the magical dimension functions `