Permalink
Browse files

s/path/Path/g

  • Loading branch information...
1 parent 4fdef72 commit 0d126e8266f3f3287fb83a2e26e19a0ed3358672 @Filirom1 committed Mar 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/css-b64-images.js
@@ -69,7 +69,7 @@ function replaceUrlByB64(imageUrl, imagePath, css, cb){
}
fs.readFile(imagePath, 'base64', function(err, img){
if(err) return cb(err, css);
- var ext = path.extname(imagePath);
+ var ext = Path.extname(imagePath);
var newCss = css.replace(imageUrl, 'data:' + mediatypes[ext] + ';base64,' + img);
cb(null, newCss);
});

0 comments on commit 0d126e8

Please sign in to comment.