Skip to content

Commit

Permalink
Fix typoe in the 'Skip Prefix' example
Browse files Browse the repository at this point in the history
Closes #82
  • Loading branch information
vvasilev- committed Feb 7, 2017
1 parent b11b6b2 commit 2142930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/skip-prefix.md
Expand Up @@ -18,7 +18,7 @@ var opts = {
hooks: {
onSaveSpritesheet: function(opts, spritesheet) {
// We assume that the groups is not an empty array
var filenameChunks = spritesheet.groups.slice().push('png');
var filenameChunks = spritesheet.groups.concat('png');
return path.join(opts.spritePath, filenameChunks.join('.'));
}
}
Expand Down

0 comments on commit 2142930

Please sign in to comment.