Skip to content

Commit

Permalink
Build 0.5.14 - Fixed size update and updated version number
Browse files Browse the repository at this point in the history
  • Loading branch information
draeton committed Jan 25, 2012
1 parent 879a9e5 commit 244df87
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
## Stitches

[Stitches](http://draeton.github.com/stitches/) is an HTML5 sprite sheet generator.
The current version is `0.4.13`. Documentation is available
The current version is `0.5.14`. Documentation is available
[here](http://draeton.github.com/stitches/stitches/docs/stitches.html).

## Implementation

Stitches requires a stylesheet, a script, and an HTML element to get the job done:

<link rel="stylesheet" href="css/stitches-0.4.13-min.css">
<link rel="stylesheet" href="css/stitches-0.5.14-min.css">

<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/modernizr-2.0.6.min.js"></script>

<script src="js/stitches-0.4.13-min.js"></script>
<script src="js/stitches-0.5.14-min.js"></script>

Once that's in place, the sprite sheet generator is created by the `init` method:

Expand Down
6 changes: 3 additions & 3 deletions build.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Wed, 25 Jan 2012 11:49:40 -0500
#Wed, 25 Jan 2012 11:53:39 -0500
build.major=0
build.minor=4
build.number=13
build.minor=5
build.number=14
File renamed without changes.
File renamed without changes.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@
//
// Update icon dimensions after changing padding setting
updateIconDimensions: function () {
var padding = Stitches.setting.padding;
var padding = Stitches.settings.padding;

$.each(Stitches.iconQueue, function (i, icon) {
icon.width = icon.image.width + padding;
Expand Down
Binary file added dist/stitches-0.5.14.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@

<p>Update icon dimensions after changing padding setting</p> </td> <td class="code"> <div class="highlight"><pre>
<span class="nx">updateIconDimensions</span><span class="o">:</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
<span class="kd">var</span> <span class="nx">padding</span> <span class="o">=</span> <span class="nx">Stitches</span><span class="p">.</span><span class="nx">setting</span><span class="p">.</span><span class="nx">padding</span><span class="p">;</span>
<span class="kd">var</span> <span class="nx">padding</span> <span class="o">=</span> <span class="nx">Stitches</span><span class="p">.</span><span class="nx">settings</span><span class="p">.</span><span class="nx">padding</span><span class="p">;</span>

<span class="nx">$</span><span class="p">.</span><span class="nx">each</span><span class="p">(</span><span class="nx">Stitches</span><span class="p">.</span><span class="nx">iconQueue</span><span class="p">,</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">i</span><span class="p">,</span> <span class="nx">icon</span><span class="p">)</span> <span class="p">{</span>
<span class="nx">icon</span><span class="p">.</span><span class="nx">width</span> <span class="o">=</span> <span class="nx">icon</span><span class="p">.</span><span class="nx">image</span><span class="p">.</span><span class="nx">width</span> <span class="o">+</span> <span class="nx">padding</span><span class="p">;</span>
Expand Down
2 changes: 1 addition & 1 deletion src/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
//
// Update icon dimensions after changing padding setting
updateIconDimensions: function () {
var padding = Stitches.setting.padding;
var padding = Stitches.settings.padding;

$.each(Stitches.iconQueue, function (i, icon) {
icon.width = icon.image.width + padding;
Expand Down

0 comments on commit 244df87

Please sign in to comment.