Skip to content

Commit

Permalink
Fixed another bg bug aka i dont unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmarineau committed Mar 26, 2015
1 parent c83a2d8 commit 1518734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/shorthanders/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = function(shorthand, declarations) {
shorthandedProperty += layerShorthand.trim();
}

shorthandedProperty += ' ' + bgProps['background-color'][0];
shorthandedProperty += ' ' + (bgProps['background-color'][0] || "");

return shorthandedProperty.replace(/\s+/g, ' ').trim();
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shrthnd",
"version": "0.0.5",
"version": "0.0.6",
"description": "Makes your CSS files lighter and more readable by converting and combining CSS properties into their shorthand versions when possible.",
"main": "index.js",
"files": [
Expand Down

0 comments on commit 1518734

Please sign in to comment.