mirror of
https://github.com/svg/svgo.git
synced 2025-07-31 07:44:22 +03:00
more JSHint
This commit is contained in:
@ -6,12 +6,11 @@
|
||||
* Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
*
|
||||
* @param {Object} item current iteration item
|
||||
* @param {Object} params plugin params
|
||||
* @return {Boolean} if false, item will be filtered out
|
||||
*
|
||||
* @author Kir Belevich
|
||||
*/
|
||||
exports.removeComments = function(item, params) {
|
||||
exports.removeComments = function(item) {
|
||||
|
||||
if (item.comment && item.comment.charAt(0) !== '!') {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user