1
0
mirror of https://github.com/svg/svgo.git synced 2025-07-31 07:44:22 +03:00

more JSHint

This commit is contained in:
deepsweet
2012-11-27 16:53:05 +02:00
parent 12d661c98f
commit bb6323c7f8
17 changed files with 20 additions and 30 deletions

View File

@ -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;