Skip to content

Commit

Permalink
fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
rockitbaby committed Jul 4, 2016
1 parent f4da9f6 commit bed329f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ var Library = {};
} else {
formatRules.push('(name like %@)');
}
// arguments.push(nameOrNames);
arguments.push(nameOrNames);
}

//type
if (type) {
formatRules.push('(className == %@)');
// arguments.push(type);
arguments.push(type);
} else {
formatRules.push('(className == "MSLayerGroup" OR className == "MSShapeGroup" OR className == "MSArtboardGroup" OR className == "MSTextLayer" OR className == "MSSymbolInstance")');
}

//layers to exclude
if (layersToExclude) {
formatRules.push('NOT (SELF IN %@)');
// arguments.push(layersToExclude);
arguments.push(layersToExclude);
}

//prepare format string
Expand Down

0 comments on commit bed329f

Please sign in to comment.