Skip to content

Commit

Permalink
Remove unnecessary whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Ser-Gen committed Jan 5, 2015
1 parent 970529d commit 90ae98d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ module.exports = function (opts) {

// для добавления в селектор только недостающего
function cleanSelector (o) {
o.replace(/\s*,\s*/g, ",");
var a = o.split(',');
var a = o.replace(/\s*,\s*/g, ",").replace(/\n/g, "").split(',');

a = a.filter( function( item, index, inputArray ) {
return inputArray.indexOf(item) == index;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-data-packer",
"version": "1.0.2",
"version": "1.0.3",
"description": "PostCSS plugin to move an embedded data into a separate file",
"keywords": [
"css",
Expand Down

0 comments on commit 90ae98d

Please sign in to comment.