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,14 @@
|
||||
'use strict';
|
||||
|
||||
exports.type = 'peItem';
|
||||
|
||||
exports.active = true;
|
||||
|
||||
exports.params = {
|
||||
stroke: true,
|
||||
fill: true
|
||||
};
|
||||
|
||||
var regStrokeProps = /^stroke/,
|
||||
regFillProps = /^fill/;
|
||||
|
||||
@ -12,7 +21,7 @@ var regStrokeProps = /^stroke/,
|
||||
*
|
||||
* @author Kir Belevich
|
||||
*/
|
||||
exports.removeUselessStrokeAndFill = function(item, params) {
|
||||
exports.fn = function(item, params) {
|
||||
|
||||
if (item.isElem()) {
|
||||
|
||||
|
Reference in New Issue
Block a user