Skip to content

Commit

Permalink
generating background-image url with staticImagePath and mapname
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonia Ilski committed Mar 25, 2015
1 parent 08d37bf commit 6c5ba5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/sprites.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = function(grunt) {

// check if the user registered a static path for images in the config
if (!!staticImagePath) {
imagePath = staticImagePath + path.sep + spriteMap;
imagePath = staticImagePath + path.sep + path.basename(spriteMap);
}

if (path.sep === "\\"){
Expand Down

0 comments on commit 6c5ba5b

Please sign in to comment.