mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
global refactoring dump
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
exports.type = 'perItem';
|
||||
|
||||
exports.active = true;
|
||||
|
||||
/**
|
||||
* Remove comments.
|
||||
*
|
||||
@ -12,7 +16,7 @@
|
||||
*
|
||||
* @author Kir Belevich
|
||||
*/
|
||||
exports.removeComments = function(item) {
|
||||
exports.fn = function(item) {
|
||||
|
||||
if (item.comment && item.comment.charAt(0) !== '!') {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user