mirror of
https://github.com/svg/svgo.git
synced 2026-01-03 15:22:28 +03:00
lib/jsAPI: simplification and refactoring
This commit is contained in:
@@ -13,6 +13,6 @@
|
||||
*/
|
||||
exports.removeComments = function(item, params) {
|
||||
|
||||
return !item.isComment();
|
||||
return !item.comment;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user